#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
#if defined(__EMX__)
#if !defined(OS2)
#define OS2 1
#if !defined(__FLAT__)
#define __FLAT__ 1
#if defined(__MINGW32__)
/* mingw32 warnings */
#define NONAMELESSUNION
#define sleep(sec) _sleep((sec)*1000l)
#if defined(SASC) || defined(UNIX)
#define PATH_DELIM '/'
#else
#define PATH_DELIM '\\'
#define eqstr(str1,str2) (strcmp(str1,str2)==0)
#if !defined(__GNUC__) || defined(__MINGW32__)
#define mymkdir(path) mkdir(path)
#define mymkdir(path) mkdir(path, 0)
#ifndef O_BINARY
#define O_BINARY 0
#if defined(_MSC_VER)
# define sleep(x) Sleep(1000L*(x))
# ifndef S_ISDIR
# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
# endif
# ifndef S_ISREG
# define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/* 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 /* __HSKSUPP_H_ */