diff options
author | Austin Shafer <ashafer@badland.io> | 2020-07-07 22:49:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 22:49:41 -0400 |
commit | 52b1f4f1029208e47516f679a906820e10dbbd47 (patch) | |
tree | b0542bf038bc1e0653d9a3352171ee58707428b5 /samples | |
parent | 712dcac7e4f5f50d685d060a5f3f6115b70334f1 (diff) | |
download | amber-52b1f4f1029208e47516f679a906820e10dbbd47.tar.gz |
Add support for FreeBSD (#881)
Create platform definitions required for building on FreeBSD.
Diffstat (limited to 'samples')
-rw-r--r-- | samples/timestamp.cc | 2 |
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 |