Bug 5318 – core.sys.osx: add version (OSX) at top of all files.

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2010-12-04T14:00:00Z
Last change time
2011-02-19T05:16:39Z
Keywords
patch
Assigned to
sean
Creator
ibuclaw

Comments

Comment #0 by ibuclaw — 2010-12-04T14:00:12Z
Patch: --- druntime-trunk~/src/core/sys/osx/mach/kern_return.d 2010-06-02 20:21:38.000000000 +0100 +++ druntime-trunk/src/core/sys/osx/mach/kern_return.d 2010-12-04 21:42:17.505486612 +0000 @@ -12,6 +12,8 @@ */ module core.sys.osx.mach.kern_return; +version (OSX): + extern (C): alias int kern_return_t; --- druntime-trunk~/src/core/sys/osx/mach/port.d 2010-06-02 20:21:38.000000000 +0100 +++ druntime-trunk/src/core/sys/osx/mach/port.d 2010-12-04 21:42:17.509486612 +0000 @@ -12,6 +12,8 @@ */ module core.sys.osx.mach.port; +version (OSX): + extern (C): version( X86 ) --- druntime-trunk~/src/core/sys/osx/mach/semaphore.d 2010-06-02 20:21:38.000000000 +0100 +++ druntime-trunk/src/core/sys/osx/mach/semaphore.d 2010-12-04 21:42:17.509486612 +0000 @@ -12,6 +12,8 @@ */ module core.sys.osx.mach.semaphore; +version (OSX): + public import core.sys.osx.mach.kern_return; public import core.sys.osx.mach.port; --- druntime-trunk~/src/core/sys/osx/mach/thread_act.d 2010-06-02 20:21:38.000000000 +0100 +++ druntime-trunk/src/core/sys/osx/mach/thread_act.d 2010-12-04 21:42:17.509486612 +0000 @@ -12,6 +12,8 @@ */ module core.sys.osx.mach.thread_act; +version (OSX): + public import core.sys.osx.mach.kern_return; public import core.sys.osx.mach.port;
Comment #1 by ibuclaw — 2011-02-19T05:16:39Z