| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
#include "config.h" |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
#ifdef _AMIGA |
| 13 |
#define PLATFORM_VERSION "Ported to AmigaOS by Christoph Mammitzsch." |
| 14 |
#include "_amiga.h" |
| 15 |
#endif |
| 16 |
|
| 17 |
|
| 18 |
#if defined(__DJGPP__) || defined(__OS2__) || defined(__Windows__) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(_WIN64) || defined(__MINGW32__) || defined(__MINGW64__) |
| 19 |
#define PLATFORM_VERSION "DOS/OS2/Win32/Win64 version. Compiled by Dirk Hoepfner" |
| 20 |
#include "_dos.h" |
| 21 |
#endif |
| 22 |
|
| 23 |
|
| 24 |
#ifdef __riscos__ |
| 25 |
#define PLATFORM_VERSION "RISC OS version." |
| 26 |
#include "_riscos.h" |
| 27 |
#endif |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
#ifndef PLATFORM_VERSION |
| 33 |
#define PLATFORM_VERSION "Platform independent version." |
| 34 |
#include "_std.h" |
| 35 |
#endif |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
extern void platform_convert_path(boolean *is_absolute, char *p); |
| 44 |
|
| 45 |
|
| 46 |
extern void platform_set_lib_path(const char new_path[]); |
| 47 |
|
| 48 |
|
| 49 |
#if PLATFORM_USE_ENV_VAR |
| 50 |
|
| 51 |
|
| 52 |
extern void platform_read_env_var(void); |
| 53 |
|
| 54 |
#endif |