1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00
emacs/mps/qa/test/testlib/platform.h
Richard Tucker 2284f79d8a Add version hu, split version and product, and improve option handling
Copied from Perforce
 Change: 20564
 ServerID: perforce.ravenbrook.com
1999-02-17 17:09:36 +00:00

48 lines
901 B
C

/* $HopeName: MMQA_harness!testlib:platform.h(trunk.5) $
platform.h
load appropriate header files to do platform-specific
stuff.
*/
#ifdef MPS_OS_SU
/* SunOS (4) doesn't have memmove, which would be handy for
writing copy functions in formats. So...
*/
/* (I copied ossu.h from the mps header files for
thursday afternoon)
*/
#include "ossu.h"
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
#define CLOCKS_PER_SEC 1000000
int scanf(const char *format, ...);
void bcopy(char* from, char* to, int bytes);
void *memmove(void *to, void *from, size_t bytes);
#endif
#ifdef MPS_OS_W3
#if !(defined MMQA_VERS_MO || defined MMQA_VERS_OS || defined MMQA_VERS_GR)
/* in interface version BQ and later, we are required to include mpsw3.h on
windows platforms. We also do this for interface version SW.
*/
#include "mpsw3.h"
#endif
LONG mySEHFilter(LPEXCEPTION_POINTERS);
#endif