1 /* RCS $Id: sysintf.h,v 1.4 2007-01-18 09:53:01 vg Exp $ 2 -- 3 -- SYNOPSIS 4 -- Interfaces for sysintf.c 5 -- 6 -- DESCRIPTION 7 -- Abstractions of functions in sysintf.c 8 -- 9 -- AUTHOR 10 -- Dennis Vadura, dvadura@dmake.wticorp.com 11 -- 12 -- WWW 13 -- http://dmake.wticorp.com/ 14 -- 15 -- COPYRIGHT 16 -- Copyright (c) 1996,1997 by WTI Corp. All rights reserved. 17 -- 18 -- This program is NOT free software; you can redistribute it and/or 19 -- modify it under the terms of the Software License Agreement Provided 20 -- in the file <distribution-root>/COPYING. 21 -- 22 -- LOG 23 -- Use cvs log to obtain detailed change logs. 24 */ 25 26 #define DMSTAT stat 27 #define VOID_LCACHE(l,m) 28 #define GETPID _psp 29 #define Hook_std_writes(A) 30 31 extern char * tempnam(); 32 extern char * getcwd(); 33 34 /* 35 ** standard C items 36 */ 37 38 /* in sysintf.c: SIGQUIT is used, this is not defined in MinGW */ 39 #ifndef SIGQUIT 40 # define SIGQUIT SIGTERM 41 #endif 42 43 /* 44 ** make parameters 45 */ 46 #ifdef _POSIX_NAME_MAX 47 #undef _POSIX_NAME_MAX 48 #endif 49 #define _POSIX_NAME_MAX _MAX_FNAME 50 51 #ifdef _POSIX_PATH_MAX 52 #undef _POSIX_PATH_MAX 53 #endif 54 #define _POSIX_PATH_MAX _MAX_PATH 55