1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-13 23:10:26 -08:00
emacs/mps/qa/test/testlib/platform.h
Richard Tucker fec89792c7 Use auto-detect header files instead of interface_version
Copied from Perforce
 Change: 20770
 ServerID: perforce.ravenbrook.com
1999-05-04 15:28:18 +01:00

34 lines
801 B
C

/* $HopeName: MMQA_harness!testlib:platform.h(trunk.6) $
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
#ifdef MMQA_HEADER_mpsw3
/* we may be required to include mpsw3.h on windows platforms */
#include "mpsw3.h"
#endif
/* to trap access violations in the test harness */
LONG mySEHFilter(LPEXCEPTION_POINTERS);
#endif