Changeset 2965 for trunk/kLdr/testcase/tstDllMain.c
- Timestamp:
- Feb 13, 2007, 10:04:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/testcase/tstDllMain.c
r2885 r2965 40 40 # include <string.h> 41 41 42 #elif defined(__DARWIN__) 43 # include <unistd.h> 44 # include <string.h> 45 42 46 #else 43 47 # error "port me" 44 48 #endif 45 49 50 46 51 /******************************************************************************* 47 52 * Internal Functions * 48 53 *******************************************************************************/ 49 staticvoid tstWrite(const char *psz);54 void tstWrite(const char *psz); 50 55 51 56 … … 120 125 } 121 126 127 #elif defined(__DARWIN__) 128 /* later */ 129 122 130 #else 123 131 # error "port me" … … 130 138 * @param pszMsg The string. 131 139 */ 132 staticvoid tstWrite(const char *pszMsg)140 void tstWrite(const char *pszMsg) 133 141 { 134 142 #if defined(__OS2__) || defined(__WIN__) … … 171 179 } 172 180 181 #elif defined(__DARWIN__) 182 write(STDERR_FILENO, pszMsg, strlen(pszMsg)); 183 173 184 #else 174 185 # error "port me"
Note:
See TracChangeset
for help on using the changeset viewer.