4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * Prototypes and definitions needed for OS/2.
13 #if defined (__cplusplus)
18 inline int readlink(const char *, char *, size_t) {return -1;}
23 #define readlink(s, t, l) (-1)
27 #include <X11/Xlocale.h>
28 /* #include <malloc.h> */
30 #define S_ISLNK(x) false
31 #define S_ISBLK(x) false
32 /*#define mkfifo(p, m) (0) *//* LyXserver is temporary disabled. */
34 #define strcasecmp stricmp
35 #if defined (__cplusplus)
38 const char* __XOS2RedirRoot(const char* pathname);
39 #if defined (__cplusplus)
43 #define LYX_DIR __XOS2RedirRoot("/XFree86/lib/X11/lyx")
45 #define LOCALEDIR __XOS2RedirRoot("/XFree86/lib/X11/locale")
47 #define TOP_SRCDIR ".."
48 /* I have the slightest idea what I am doing here... */
49 #define bindtextdomain bindtextdomain__
50 #define textdomain textdomain__
52 #endif /* _OS2_DEFINES_H */