summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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