*/
#define RAND_MAX 0x7FFF
+#ifndef _MAX_PATH
+#define _MAX_DRIVE 3
+#define _MAX_FNAME 256
+#define _MAX_DIR _MAX_FNAME
+#define _MAX_EXT _MAX_FNAME
+#define _MAX_PATH 260
+#endif
+
/*
* These values may be used as exit status codes.
*/
int _putenv(const char *val);
void _searchenv(const char *file, const char *var, char *path);
void _splitpath(const char *path, char *drive, char *dir, char *fname, char *ext);
+void _wsplitpath(const wchar_t* path, wchar_t* drive, wchar_t* dir, wchar_t* fname, wchar_t* ext);
char* _itoa(int nValue, char* sz, int nRadix);
char* _ltoa(long lnValue, char* sz, int nRadix);
*/
#undef _ATTRIB_NORETURN
+#ifndef _DISABLE_TIDENTS
+#ifdef UNICODE
+#define _tsplitpath _wsplitpath
+#define _tmakepath _wmakepath
+#else
+#define _tsplitpath _splitpath
+#define _tmakepath _makepath
+#endif
+#endif /* _DISABLE_TIDENTS */
+
#ifdef __cplusplus
}
#endif