summaryrefslogtreecommitdiff
path: root/Sources/OwlFeatures.h
diff options
context:
space:
mode:
Diffstat (limited to 'Sources/OwlFeatures.h')
-rw-r--r--Sources/OwlFeatures.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/Sources/OwlFeatures.h b/Sources/OwlFeatures.h
new file mode 100644
index 0000000..a997253
--- /dev/null
+++ b/Sources/OwlFeatures.h
@@ -0,0 +1,29 @@
+/* This file is part of Owl.
+ *
+ * Copyright © 2019-2021 Sergey Bugaev <bugaevc@gmail.com>
+ *
+ * Owl is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published
+ * by the Free Software Foundation, either version 3 of the License,
+ * or (at your option) any later version.
+ *
+ * Owl is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Owl. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifdef __APPLE__
+ #define OWL_PLATFORM_APPLE
+#else
+ #undef OWL_PLATFORM_APPLE
+#endif
+
+#ifdef GS_API_VERSION
+ #define OWL_PLATFORM_GNUSTEP
+#else
+ #undef OWL_PLATFORM_GNUSTEP
+#endif