2 * Copyright 1998-2003, ITB CompuPhase, The Netherlands.
6 #ifndef EMBRYO_CC_OSDEFS_H
7 # define EMBRYO_CC_OSDEFS_H
13 /* _MAX_PATH is sometimes called differently and it may be in limits.h instead
16 # if !defined _MAX_PATH
17 /* not defined, perhaps stdio.h was not included */
19 # if !defined _MAX_PATH
20 /* still undefined, try a common alternative name */
22 # define _MAX_PATH MAX_PATH
24 /* no _MAX_PATH and no MAX_PATH, perhaps it is in limits.h */
27 # define _MAX_PATH PATH_MAX
28 # elif defined _POSIX_PATH_MAX
29 # define _MAX_PATH _POSIX_PATH_MAX
31 /* everything failed, actually we have a problem here... */
32 # define _MAX_PATH 4096