summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-17 10:03:30 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-17 10:03:30 +0000
commit58d47620f3fc6cde55c6c39ebfe65ffdb8b0d8c1 (patch)
tree04f13dca0888a9e384970fd3996a306b5972fd7f /src/plugins
parent069d63bc755e5a9335946eb70ba610956c307386 (diff)
downloadhercules-58d47620f3fc6cde55c6c39ebfe65ffdb8b0d8c1.tar.gz
hercules-58d47620f3fc6cde55c6c39ebfe65ffdb8b0d8c1.tar.bz2
hercules-58d47620f3fc6cde55c6c39ebfe65ffdb8b0d8c1.tar.xz
hercules-58d47620f3fc6cde55c6c39ebfe65ffdb8b0d8c1.zip
* Discarded extra deflate function needed for afm reading
- as a result, discarded the whole chain of support functions, .c files and includes needed to make that one function run - also removed zlib compile/link dependencies where they are not needed - reduced the whole zlib package into two core include files - adjusted makefiles / project files to reflect this change git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10273 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/pid.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/pid.c b/src/plugins/pid.c
index 62eb6878c..2fdd2570c 100644
--- a/src/plugins/pid.c
+++ b/src/plugins/pid.c
@@ -1,15 +1,17 @@
#include <stdio.h>
#include <string.h>
+
#ifndef _WIN32
#include <unistd.h>
-#else
- #define getpid GetCurrentProcessId
#endif
#ifdef MINGW
#include <process.h>
#include <io.h>
+#else
+ #define getpid GetCurrentProcessId
#endif
+
#include "../common/plugin.h"
PLUGIN_INFO = {