#ifndef __genwrap_h
#define __genwrap_h
#if defined(_MSC_VER)
#include <windows.h>
#include <share.h>
#include <io.h>
#else
#include <gtimall.h>
#endif
#ifndef __BEOS__
#define SLEEP(a) Sleep(a)
#define SLEEP(a) usleep(a)
#include <OS.h>
#define SLEEP(a) snooze(a)
int lock(int handle, long offset, long length);
int unlock(int handle, long offset, long length);
#endif // __genwrap_h