diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/colbrowser.cxx | 14 | ||||
| -rw-r--r-- | test/fractals.cxx | 2 | ||||
| -rw-r--r-- | test/fracviewer.cxx | 4 |
3 files changed, 8 insertions, 12 deletions
diff --git a/test/colbrowser.cxx b/test/colbrowser.cxx index b167d6539..0865870d8 100644 --- a/test/colbrowser.cxx +++ b/test/colbrowser.cxx @@ -147,15 +147,11 @@ static int load_browser(char *fname) RGBdb *db = rgbdb, *dbs = db + MAX_RGB; int r, g, b, lr = -1 , lg = -1, lb = -1; char name[256], buf[256]; -#ifdef __EMX__ - if (!(fp = fl_fopen(__XOS2RedirRoot(fname), "r"))) -#else - if (!(fp = fl_fopen(fname, "r"))) -#endif - { - fl_alert("%s\n%s\n%s","Load", fname, "Can't open"); - return 0; - } + + if (!(fp = fl_fopen(fname, "r"))) { + fl_alert("%s\n%s\n%s","Load", fname, "Can't open"); + return 0; + } /* read the items */ diff --git a/test/fractals.cxx b/test/fractals.cxx index 5d3f1def3..1b20e25f9 100644 --- a/test/fractals.cxx +++ b/test/fractals.cxx @@ -67,7 +67,7 @@ int main(int, char**) { #include "fracviewer.h" -#if defined(WIN32) || defined(__EMX__) +#if defined(WIN32) # define drand48() (((float) rand())/((float) RAND_MAX)) # define srand48(x) (srand((x))) #elif defined __APPLE__ diff --git a/test/fracviewer.cxx b/test/fracviewer.cxx index a6450eb87..c61ef3d7f 100644 --- a/test/fracviewer.cxx +++ b/test/fracviewer.cxx @@ -23,9 +23,9 @@ # include <math.h> # include <sys/types.h> # include <time.h> -# if !defined(WIN32) && !defined(__EMX__) +# if !defined(WIN32) # include <sys/time.h> -# endif // !WIN32 && !__EMX__ +# endif // !WIN32 # include "fracviewer.h" |
