|
@@ -1,6 +1,25 @@
|
|
|
|
+/*
|
|
|
|
+ * Copyright (C) 2013-2015 the contributors as stated in the AUTHORS file
|
|
|
|
+ *
|
|
|
|
+ * This file is part of open62541. open62541 is free software: you can
|
|
|
|
+ * redistribute it and/or modify it under the terms of the GNU Lesser General
|
|
|
|
+ * Public License, version 3 (as published by the Free Software Foundation) with
|
|
|
|
+ * a static linking exception as stated in the LICENSE file provided with
|
|
|
|
+ * open62541.
|
|
|
|
+ *
|
|
|
|
+ * open62541 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 Lesser General Public License for more
|
|
|
|
+ * details.
|
|
|
|
+ */
|
|
|
|
+
|
|
#ifndef UA_CONFIG_H_
|
|
#ifndef UA_CONFIG_H_
|
|
#define UA_CONFIG_H_
|
|
#define UA_CONFIG_H_
|
|
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
+extern "C" {
|
|
|
|
+#endif
|
|
|
|
+
|
|
#ifndef _XOPEN_SOURCE
|
|
#ifndef _XOPEN_SOURCE
|
|
# define _XOPEN_SOURCE 500
|
|
# define _XOPEN_SOURCE 500
|
|
# define _DEFAULT_SOURCE
|
|
# define _DEFAULT_SOURCE
|
|
@@ -173,4 +192,8 @@
|
|
# include <string.h>
|
|
# include <string.h>
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
+} // extern "C"
|
|
|
|
+#endif
|
|
|
|
+
|
|
#endif /* UA_CONFIG_H_ */
|
|
#endif /* UA_CONFIG_H_ */
|