#define OSDependentInit() InitWinAPIWrapper()
-#undef ENABLE_NLS
+#define sbrk(x) 0
+
#if defined(BUILDING_DLL)
# define DLL_IMP_EXP _declspec(dllexport)
#define OSDependentInit()
#define tape_open open
#define tape_ioctl ioctl
-#define tape_read read
-#define tape_write write
+#define tape_read ::read
+#define tape_write ::write
#define tape_close ::close
#endif
#if defined(HAVE_WIN32)
#define DEFAULT_CONFIGDIR "C:\\Documents and Settings\\All Users\\Application Data\\Bacula"
+#define PathSeparator '\\'
inline bool IsPathSeparator(int ch) { return ch == '/' || ch == '\\'; }
inline char *first_path_separator(char *path) { return strpbrk(path, "/\\"); }
inline const char *first_path_separator(const char *path) { return strpbrk(path, "/\\"); }
#else
+#define PathSeparator '/'
/* Define Winsock functions if we aren't on Windows */
#define WSA_Init() 0 /* 0 = success */
*/
extern "C" int getdomainname(char *name, int namelen);
extern "C" int setdomainname(char *name, int namelen);
-#define uLong unsigned long
#endif /* HAVE_HPUX_OS */