summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2011-01-05 22:28:39 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2011-01-05 22:28:39 +0000
commit3eb5a172a3700a14782225d606c2554f62c767f5 (patch)
tree9aa86d9cc928d0c98800053ddb77cf876ebd5a4b /examples
parent974c369e3b065f5a9ecbc10cb847dbc4dd805e9d (diff)
Changed remaining _WIN32 to WIN32.
Added 'all' target to Makefile. Do we need the 'default' target? git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8194 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile2
-rw-r--r--examples/howto-add_fd-and-popen.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile
index c524d7e2f..3949df80a 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -17,7 +17,7 @@ ALL = howto-add_fd-and-popen$(EXEEXT) \
wizard-simple$(EXEEXT)
# default target -- build everything
-default: $(ALL)
+default all: $(ALL)
# clean everything
clean:
diff --git a/examples/howto-add_fd-and-popen.cxx b/examples/howto-add_fd-and-popen.cxx
index d649fd456..19e9ae66f 100644
--- a/examples/howto-add_fd-and-popen.cxx
+++ b/examples/howto-add_fd-and-popen.cxx
@@ -36,7 +36,7 @@
#include <FL/Fl_Window.H>
#include <FL/Fl_Multi_Browser.H>
-#ifdef _WIN32
+#ifdef WIN32
# define PING_CMD "ping -n 10 localhost" // 'slow command' under windows
# ifdef _MSC_VER
# define popen _popen