This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-goldedplus/goldlib/msgidlib/hsksupp.h
Alexander S. Aganichev 6d4938356e SeqMsgID support files
2003-03-26 16:12:22 +00:00

48 lines
846 B
C
Executable File

#ifndef __HSKSUPP_H_
#define __HSKSUPP_H_
#include <stdlib.h>
#include <time.h>
#include "typedefs.h"
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE 1
#endif
#if defined(__MINGW32__)
/* mingw32 warnings */
#define NONAMELESSUNION
#define sleep(sec) _sleep((sec)*1000l)
#endif
#if defined(SASC) || defined(UNIX)
#define PATH_DELIM '/'
#else
#define PATH_DELIM '\\'
#endif
#define eqstr(str1,str2) (strcmp(str1,str2)==0)
#if !defined(__GNUC__) || defined(__MINGW32__)
#define mymkdir(path) mkdir(path)
#else
#define mymkdir(path) mkdir(path, 0)
#endif
/* fexists.c */
int fexist(const char *filename);
long fsize(const char *filename);
int direxist(const char *directory);
int _createDirectoryTree(const char *pathName);
/* patmat.c */
#ifdef UNIX
int patmat(char *raw, char *pat);
#endif
#endif /* __HSKSUPP_H_ */