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;}
25 #define readlink(s, t, l) (-1)
31 #include <X11/Xlocale.h>
32 /* #include <malloc.h> */
34 #define S_ISLNK(x) false
35 #define S_ISBLK(x) false
36 /*#define mkfifo(p, m) (0) *//* LyXserver is temporary disabled. */
38 #define strcasecmp stricmp
39 #if defined (__cplusplus)
42 const char* __XOS2RedirRoot(const char* pathname);
43 #if defined (__cplusplus)
47 #define LYX_DIR __XOS2RedirRoot("/XFree86/lib/X11/lyx")
49 #define LOCALEDIR __XOS2RedirRoot("/XFree86/lib/X11/locale")
51 #define TOP_SRCDIR ".."
52 /* I have the slightest idea what I am doing here... */
53 #define bindtextdomain bindtextdomain__
54 #define textdomain textdomain__
56 #endif /* _OS2_DEFINES_H */