summaryrefslogtreecommitdiff
path: root/src/net/Features.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-07-21 11:02:33 +0200
committerMax Kellermann <max@duempel.org>2015-07-21 11:57:53 +0200
commit5bdbd74d591e87e327835faf71741eacab3ce00f (patch)
tree2f9f94bb825163077ee37f50df41bdec3dd27a05 /src/net/Features.hxx
parente621c2427082970329ba0364cff8a9fceb0a0856 (diff)
net: add header Features.hxx
For improved portability of the net library to projects without autoconf.
Diffstat (limited to 'src/net/Features.hxx')
-rw-r--r--src/net/Features.hxx27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/net/Features.hxx b/src/net/Features.hxx
new file mode 100644
index 000000000..05dcc5659
--- /dev/null
+++ b/src/net/Features.hxx
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2003-2015 The Music Player Daemon Project
+ * http://www.musicpd.org
+ *
+ * This program 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 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef NET_FEATURES_HXX
+#define NET_FEATURES_HXX
+
+/* feature macros are defined in config.h, and this header verifies
+ that it has been included earlier */
+#include "check.h"
+
+#endif