summaryrefslogtreecommitdiff
path: root/src/common/utils.c
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-07 23:59:26 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-07 23:59:26 +0000
commit59aae2ed7a29f22b90bec24962e83d7a420dc4d1 (patch)
treef284f1b22feed2b6b95e44c008ff4c4fad35232e /src/common/utils.c
parent316de00df4e63468923c5678dcf7c12fc8e59523 (diff)
downloadhercules-59aae2ed7a29f22b90bec24962e83d7a420dc4d1.tar.gz
hercules-59aae2ed7a29f22b90bec24962e83d7a420dc4d1.tar.bz2
hercules-59aae2ed7a29f22b90bec24962e83d7a420dc4d1.tar.xz
hercules-59aae2ed7a29f22b90bec24962e83d7a420dc4d1.zip
- Fixed ladmin's linux compilation and moved some platform specific defines to cbasetypes.h
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9435 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/utils.c')
-rw-r--r--src/common/utils.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/utils.c b/src/common/utils.c
index c7b3b517a..6d4abb26d 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -8,12 +8,10 @@
#ifdef WIN32
#include <windows.h>
- #define PATHSEP '\\'
#else
#include <unistd.h>
#include <dirent.h>
#include <sys/stat.h>
- #define PATHSEP '/'
#endif
#include "utils.h"
@@ -285,8 +283,8 @@ void findfile(const char *p, const char *pat, void (func)(const char*))
}
}while (FindNextFile(hFind, &FindFileData) != 0);
FindClose(hFind);
- }
- return;
+ }
+ return;
}
#else