2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2001 The LyX Team.
10 * ======================================================
11 A few prototypes and definitions needed for OS/2 */
16 #if defined (__cplusplus)
21 inline int readlink(const char *, char *, size_t) {return -1;}
26 #define readlink(s, t, l) (-1)
30 #include <X11/Xlocale.h>
31 /* #include <malloc.h> */
33 #define S_ISLNK(x) false
34 #define S_ISBLK(x) false
35 /*#define mkfifo(p, m) (0) *//* LyXserver is temporary disabled. */
37 #define strcasecmp stricmp
38 #if defined (__cplusplus)
41 const char* __XOS2RedirRoot(const char* pathname);
42 #if defined (__cplusplus)
46 #define LYX_DIR __XOS2RedirRoot("/XFree86/lib/X11/lyx")
48 #define LOCALEDIR __XOS2RedirRoot("/XFree86/lib/X11/locale")
50 #define TOP_SRCDIR ".."
51 /* I have the slightest idea what I am doing here... */
52 #define bindtextdomain bindtextdomain__
53 #define textdomain textdomain__
55 #endif /* _OS2_DEFINES_H */