diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-24 00:03:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-24 00:03:52 +0000 |
commit | 102782b3413949b20851571056df990ae9393dda (patch) | |
tree | eb6085b45363454e4568ccf63d20e3850bc7e2b4 /Build | |
parent | e27e8059a8c50e96700240320bd8251914aeb81c (diff) |
don't try stdbool if we have kpathsea, Staszek's
old machine doesn't define false.
git-svn-id: svn://tug.org/texlive/trunk@2873 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/dvipng/dvipng.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/dvipng/dvipng.h b/Build/source/texk/dvipng/dvipng.h index 98cc3a52f07..d16f87e8f06 100644 --- a/Build/source/texk/dvipng/dvipng.h +++ b/Build/source/texk/dvipng/dvipng.h @@ -83,13 +83,13 @@ typedef unsigned long long uint64_t; #include <t1lib.h> #endif -#ifdef HAVE_STDBOOL_H -# include <stdbool.h> -#else -# ifdef HAVE_KPATHSEA_KPATHSEA_H +#ifdef HAVE_KPATHSEA_KPATHSEA_H /* boolean is an enum type from kpathsea/types.h loaded in kpathsea/kpathsea.h, use it as fallback */ # define bool boolean +#else +# ifdef HAVE_STDBOOL_H +# include <stdbool.h> # else typedef int bool; # define true (bool) 1 |