Commit 48ca5c6b authored by Alexander Barkov's avatar Alexander Barkov

Fixing redundant declaration.

modified:
  storage/connect/os.h
  storage/connect/osutil.h
parent f3302230
...@@ -46,12 +46,15 @@ typedef int bool; ...@@ -46,12 +46,15 @@ typedef int bool;
#define bool my_bool #define bool my_bool
#endif #endif
#define _MAX_PATH PATH_MAX
#define stricmp strcasecmp #define stricmp strcasecmp
#define _stricmp strcasecmp #define _stricmp strcasecmp
#define strnicmp strncasecmp #define strnicmp strncasecmp
#define _strnicmp strncasecmp #define _strnicmp strncasecmp
#ifdef PATH_MAX
#define _MAX_PATH PATH_MAX
#else
#define _MAX_PATH 260 #define _MAX_PATH 260
#endif
#define _MAX_DRIVE 3 #define _MAX_DRIVE 3
#define _MAX_DIR 256 #define _MAX_DIR 256
#define _MAX_FNAME 256 #define _MAX_FNAME 256
......
...@@ -74,10 +74,6 @@ PSZ strlwr(PSZ s); ...@@ -74,10 +74,6 @@ PSZ strlwr(PSZ s);
typedef size_t FILEPOS; typedef size_t FILEPOS;
//pedef int FILEHANDLE; // UNIX //pedef int FILEHANDLE; // UNIX
#ifndef _MAX_PATH
#define MAX_PATH 256
#endif
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment