From 5199b3bd656f0ccfe70fb571a2f83c83ce750c41 Mon Sep 17 00:00:00 2001 From: kichik Date: Thu, 15 Jan 2009 13:51:22 +0000 Subject: [PATCH] fixed bug #2497290 - The TRUE/FALSE bug on MacOS X, revisited git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5906 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/util.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/util.cpp b/Source/util.cpp index 7df41774..f7dba502 100644 --- a/Source/util.cpp +++ b/Source/util.cpp @@ -33,9 +33,10 @@ #ifdef __APPLE__ namespace Apple { // defines struct section -# define ENUM_DYLD_BOOL // for TRUE/FALSE, bug #1851365 # include // for _NSGetExecutablePath }; +# define FALSE 0 // bugs #1851365, #2497290 +# define TRUE 1 # include // for MAXPATHLEN #endif