summaryrefslogtreecommitdiffstats
path: root/src/misc/st/stmm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/st/stmm.h')
-rw-r--r--src/misc/st/stmm.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/misc/st/stmm.h b/src/misc/st/stmm.h
index c23c6942..7d2e3f3a 100644
--- a/src/misc/st/stmm.h
+++ b/src/misc/st/stmm.h
@@ -17,9 +17,25 @@
#include "extra.h"
+ABC_NAMESPACE_HEADER_START
-ABC_NAMESPACE_HEADER_START
+/* These are potential duplicates. */
+#ifndef EXTERN
+# ifdef __cplusplus
+# ifdef ABC_NAMESPACE
+# define EXTERN extern
+# else
+# define EXTERN extern "C"
+# endif
+# else
+# define EXTERN extern
+# endif
+#endif
+
+#ifndef ARGS
+#define ARGS(protos) protos
+#endif
typedef int (*stmm_compare_func_type)(const char*, const char*);
typedef int (*stmm_hash_func_type)(const char*, int);