Skip to content
Snippets Groups Projects
Commit 0bd38aa8 authored by rswindell's avatar rswindell
Browse files

Moved stricmp, strnicmp, chsize macros and filelength, fexist, and flength prototypes to smbwrap.h

parent 3757aac4
Branches
Tags
No related merge requests found
......@@ -84,14 +84,10 @@ extern "C" {
#elif defined(__unix__)
#define mswait(x) usleep(x*1000)
#define stricmp(x,y) strcasecmp(x,y)
#define strnicmp(x,y,z) strncasecmp(x,y,z)
#define chsize(fd,size) ftruncate(fd,size)
#define _mkdir(dir) mkdir(dir,0777)
#define _rmdir(dir) rmdir(dir)
DLLEXPORT void DLLCALL sbbs_beep(int freq, int dur);
DLLEXPORT long DLLCALL filelength(int fd);
DLLEXPORT char* DLLCALL strupr(char* str);
DLLEXPORT char* DLLCALL strlwr(char* str);
......@@ -168,8 +164,6 @@ extern "C" {
/* General file system wrappers for all platforms and compilers */
DLLEXPORT BOOL DLLCALL fexist(char *filespec);
DLLEXPORT long DLLCALL flength(char *filename);
DLLEXPORT long DLLCALL fdate(char *filename);
DLLEXPORT int DLLCALL getfattr(char* filename);
DLLEXPORT ulong DLLCALL getfreediskspace(char* path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment