Helper header for definitions that are missing on Windows

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@678 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
gombasg 2006-06-13 13:54:10 +00:00 committed by Adam Visegradi
parent fe25af7f4e
commit f8376bedb8
1 changed files with 32 additions and 0 deletions

32
dcapi/include/dc_win32.h Normal file
View File

@ -0,0 +1,32 @@
/*
* DC-API: Distributed Computing Platform for Master-Worker Applications
*
* Compatibility definitions for Windows
*
* Authors:
* Gabor Gombas <gombasg@sztaki.hu>
*
* Copyright MTA SZTAKI, 2006
*/
#ifndef _DC_WIN32_H_
#define _DC_WIN32_H_
#ifdef __cplusplus
extern "C" {
#endif
/* Windows does not have syslog.h */
enum {
LOG_DEBUG,
LOG_INFO,
LOG_NOTICE,
LOG_WARNING,
LOG_ERR,
LOG_CRIT
};
#ifdef __cplusplus
}
#endif
#endif /* _DC_WIN32_H_ */