forked from gnustep/libobjc2
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win32: Add/update a handful of defines for Win32 without MinGW/Cygwin.
* Thanks to Windows.h, BOOL must be an int on win32.
- Loading branch information
Showing
5 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@davidchisnall I wanted to get your take on this. For consumers who are both including
Windows.h
and using Objective-C we didn't have much choice but to makeBOOL
anint
. I wanted to use a workaround like_WINBOOL
(safewindows.h), but Windows.h consumers are pretty likely to want to use other windows headers that also assume an int BOOL.This might be better expressed through a macro such as
OBJC_BOOL_IS_INT
(and on the windows side we could prevent linking together objects with two different definitions of BOOL)... but the problem remains.Also, should
__vxwords
above actually be__vxworks
? 🤷♂️