Changeset 3582 for trunk/kStuff/kLdr/kLdrDyldOS.c
- Timestamp:
- Sep 3, 2007, 12:26:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kStuff/kLdr/kLdrDyldOS.c
r3573 r3582 29 29 * Header Files * 30 30 *******************************************************************************/ 31 #ifdef __OS2__ 31 #include <k/kLdr.h> 32 #include "kLdrInternal.h" 33 34 #if K_OS == K_OS_OS2 32 35 # define INCL_BASE 33 36 # define INCL_ERRORS 34 37 # include <os2.h> 35 #elif defined(__WIN__) 38 39 #elif K_OS == K_OS_WINDOWS 40 # undef IMAGE_DOS_SIGNATURE 41 # undef IMAGE_NT_SIGNATURE 36 42 # include <Windows.h> 43 37 44 #else 38 45 # error "port me" 39 46 #endif 40 41 #include <k/kLdr.h>42 #include "kLdrInternal.h"43 47 44 48 … … 52 56 void *kldrDyldOSAllocStack(KSIZE cb) 53 57 { 54 #if def __OS2__58 #if K_OS == K_OS_OS2 55 59 APIRET rc; 56 60 PVOID pv; … … 64 68 return NULL; 65 69 66 #elif defined(__WIN__)70 #elif K_OS == K_OS_WINDOWS 67 71 68 72 if (!cb) … … 90 94 #if defined(__OS2__) 91 95 92 #elif defined(__WIN__)96 #elif K_OS == K_OS_WINDOWS 93 97 /* 94 98 * Invoke the entrypoint on the current stack for now.
Note:
See TracChangeset
for help on using the changeset viewer.