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
This commit is contained in:
parent
80c2fae5c1
commit
5199b3bd65
1 changed files with 2 additions and 1 deletions
|
@ -33,9 +33,10 @@
|
|||
|
||||
#ifdef __APPLE__
|
||||
namespace Apple { // defines struct section
|
||||
# define ENUM_DYLD_BOOL // for TRUE/FALSE, bug #1851365
|
||||
# include <mach-o/dyld.h> // for _NSGetExecutablePath
|
||||
};
|
||||
# define FALSE 0 // bugs #1851365, #2497290
|
||||
# define TRUE 1
|
||||
# include <sys/param.h> // for MAXPATHLEN
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue