From f8376bedb8111a3782aefdaa4af56a52be0be72c Mon Sep 17 00:00:00 2001 From: gombasg Date: Tue, 13 Jun 2006 13:54:10 +0000 Subject: [PATCH] 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 --- dcapi/include/dc_win32.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 dcapi/include/dc_win32.h diff --git a/dcapi/include/dc_win32.h b/dcapi/include/dc_win32.h new file mode 100644 index 0000000000..b328b83a6e --- /dev/null +++ b/dcapi/include/dc_win32.h @@ -0,0 +1,32 @@ +/* + * DC-API: Distributed Computing Platform for Master-Worker Applications + * + * Compatibility definitions for Windows + * + * Authors: + * Gabor Gombas + * + * 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_ */