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/smblib/genwrap.h

29 lines
473 B
C
Raw Normal View History

2002-08-30 06:01:33 +00:00
#ifndef __genwrap_h
#define __genwrap_h
#if defined(_MSC_VER)
#include <windows.h>
#include <share.h>
#include <io.h>
#else
2002-08-30 06:01:33 +00:00
#include <gtimall.h>
#endif
2002-08-30 06:01:33 +00:00
#ifndef __BEOS__
#if defined(_MSC_VER)
#define SLEEP(a) Sleep(a)
#else
#define SLEEP(a) usleep(a)
#endif
#else
#include <OS.h>
#define SLEEP(a) snooze(a)
#endif
#if defined(_MSC_VER)
int lock(int handle, long offset, long length);
int unlock(int handle, long offset, long length);
#endif
2002-08-30 06:01:33 +00:00
#endif // __genwrap_h