aboutsummaryrefslogtreecommitdiff
path: root/samples/timestamp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'samples/timestamp.cc')
-rw-r--r--samples/timestamp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/timestamp.cc b/samples/timestamp.cc
index 50c6539..29f5a99 100644
--- a/samples/timestamp.cc
+++ b/samples/timestamp.cc
@@ -19,7 +19,7 @@
#if defined(_WIN32) || defined(_WIN64)
#define SAMPLE_PLATFORM_WINDOWS 1
#define SAMPLE_PLATFORM_POSIX 0
-#elif defined(__linux__) || defined(__APPLE__)
+#elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
#define SAMPLE_PLATFORM_POSIX 1
#define SAMPLE_PLATFORM_WINDOWS 0
#endif