Changeset - 9c7d577b0e3a
[Not reviewed]
0 1 0
HanzZ - 13 years ago 2012-03-20 22:45:13
hanzz.k@gmail.com
define getpid on windows
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
plugin/cpp/networkplugin.cpp
Show inline comments
 
@@ -25,12 +25,14 @@
 

	
 
#ifndef WIN32
 
#include <arpa/inet.h>
 
#else 
 
#include <winsock2.h>
 
#include <stdint.h>
 
#include <process.h>
 
#define getpid _getpid
 
#endif
 

	
 
using namespace log4cxx;
 

	
 
static LoggerPtr logger = Logger::getLogger("NetworkPlugin");
 

	
0 comments (0 inline, 0 general)