diff options
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/fluid.cxx | 8 | ||||
| -rw-r--r-- | fluid/makefile.wat | 17 | ||||
| -rw-r--r-- | fluid/undo.cxx | 4 |
3 files changed, 18 insertions, 11 deletions
diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx index 6fc0149c1..df48ef78d 100644 --- a/fluid/fluid.cxx +++ b/fluid/fluid.cxx @@ -59,11 +59,13 @@ # include <io.h> # include <commdlg.h> # include <FL/x.H> +# if !defined(__WATCOMC__) // Visual C++ 2005 incorrectly displays a warning about the use of POSIX APIs // on Windows, which is supposed to be POSIX compliant... -# define access _access -# define chdir _chdir -# define getcwd _getcwd +# define access _access +# define chdir _chdir +# define getcwd _getcwd +# endif // !__WATCOMC__ #else # include <unistd.h> #endif diff --git a/fluid/makefile.wat b/fluid/makefile.wat index 9c609ffd8..4f0a164c0 100644 --- a/fluid/makefile.wat +++ b/fluid/makefile.wat @@ -24,21 +24,24 @@ #
OBJECTS = &
+ CodeEditor.obj &
Fl_Function_Type.obj &
- Fl_Menu_Type.obj &
Fl_Group_Type.obj &
- Fl_Widget_Type.obj &
+ Fl_Menu_Type.obj &
Fl_Type.obj &
+ Fl_Widget_Type.obj &
Fl_Window_Type.obj &
Fluid_Image.obj &
+ about_panel.obj &
+ align_widget.obj &
+ alignment_panel.obj &
code.obj &
factory.obj &
file.obj &
- align_widget.obj &
- about_panel.obj &
- widget_panel.obj &
- alignment_panel.obj &
- function_panel.obj
+ function_panel.obj &
+ template_panel.obj &
+ undo.obj &
+ widget_panel.obj
# fluid.obj should not be in the list, because the watcom.mif file
# assumes an object file with the same name as the target executable
diff --git a/fluid/undo.cxx b/fluid/undo.cxx index 502df64b4..54e0bcd6c 100644 --- a/fluid/undo.cxx +++ b/fluid/undo.cxx @@ -34,9 +34,11 @@ # include <io.h> # include <windows.h> # define getpid (int)GetCurrentProcessId +# if !defined(__WATCOMC__) // Visual C++ 2005 incorrectly displays a warning about the use of POSIX APIs // on Windows, which is supposed to be POSIX compliant... -# define unlink _unlink +# define unlink _unlink +# endif // !__WATCOMC__ #else # include <unistd.h> #endif // WIN32 && !__CYGWIN__ |
