2006-06-13 13:54:10 +00:00
|
|
|
/*
|
|
|
|
* DC-API: Distributed Computing Platform for Master-Worker Applications
|
|
|
|
*
|
|
|
|
* Compatibility definitions for Windows
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Gabor Gombas <gombasg@sztaki.hu>
|
|
|
|
*
|
|
|
|
* Copyright MTA SZTAKI, 2006
|
|
|
|
*/
|
2006-06-20 14:22:17 +00:00
|
|
|
|
|
|
|
/* <private_header> */
|
|
|
|
|
2006-06-13 13:54:10 +00:00
|
|
|
#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
|
|
|
|
};
|
|
|
|
|
2006-06-20 12:47:49 +00:00
|
|
|
/* No ssize_t */
|
|
|
|
typedef long ssize_t;
|
|
|
|
|
2006-06-20 13:03:45 +00:00
|
|
|
#define strcasecmp(a, b) stricmp(a, b)
|
|
|
|
|
2006-06-13 13:54:10 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _DC_WIN32_H_ */
|