mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-27 22:32:02 +08:00
Updates to support OS X. This improves support for building on
multiple systems with automake, with X Windows and Carbon window system APIs supported. It's also a starting port for supporting win32 builds using mingw. OS X support is incomplete; the tree will compile and link but the binaries will not function.
This commit is contained in:
@@ -36,7 +36,8 @@
|
||||
#endif
|
||||
|
||||
#if !defined(TYPE_OF_SIZE_4)
|
||||
# if SIZEOF_INT == 4
|
||||
// Carbon defines SInt32 and UInt32 in terms of long
|
||||
# if SIZEOF_INT == 4 && !defined(__APPLE__)
|
||||
# define TYPE_OF_SIZE_4 int
|
||||
# else
|
||||
# define TYPE_OF_SIZE_4 long
|
||||
@@ -83,5 +84,3 @@ typedef unsigned TYPE_OF_SIZE_4 UInt32;
|
||||
#undef TYPE_OF_SIZE_4
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user