mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 12:55:43 +00:00
Some fixes for MS_VC.
svn path=/trunk/; revision=11092
This commit is contained in:
parent
6a64eeeb08
commit
73a66a9cc9
3 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,9 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifndef max
|
||||
#define max(a, b) ((a) > (b) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
int
|
||||
write_if_change(char* outbuf, char* filename)
|
||||
|
|
|
@ -13,10 +13,10 @@
|
|||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
#ifndef WIN32
|
||||
#ifndef MAX_PATH
|
||||
#define MAX_PATH 260
|
||||
#endif
|
||||
#ifndef WIN32
|
||||
#define DIR_SEPARATOR_CHAR '/'
|
||||
#define DIR_SEPARATOR_STRING "/"
|
||||
#else
|
||||
|
|
|
@ -21,10 +21,10 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
#ifndef WIN32
|
||||
#ifndef MAX_PATH
|
||||
#define MAX_PATH 260
|
||||
#endif
|
||||
#ifndef WIN32
|
||||
#define DIR_SEPARATOR_CHAR '/'
|
||||
#define DIR_SEPARATOR_STRING "/"
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue