update for HEAD-2003091401
[reactos.git] / lib / winedbgc / porting.h
index bc03379..45a8539 100644 (file)
 long interlocked_xchg_add(long *dest, long incr);
 
 #define strlenW wcslen
-
+#define strcpyW wcscpy
+#define strcatW wcscat
 #define strstrW wcsstr
 #define strtolW wcstol
+#define strchrW wcschr
+#define strncmpW wcsncmp
+#define tolowerW towlower
+#define atoiW _wtoi
+#define atolW _wtol
 #define strncasecmp strncmp
 #define snprintf _snprintf
 #define strcasecmp _stricmp
 
+#define SLOWORD(l) ((SHORT)(LONG)(l))
+#define SHIWORD(l) ((SHORT)((LONG)(l) >> 16))
 
 #endif  /* __PORTING_WINE2ROS_H */