summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 918206ab69..d83f6f4845 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -37,6 +37,14 @@
37#include "string-extra.h" 37#include "string-extra.h"
38#include "gcc_extensions.h" 38#include "gcc_extensions.h"
39 39
40
41
42/* on some platforms strcmp() seems to be a tricky define which
43 * breaks if we write down strcmp's prototype */
44#undef strcmp
45#undef strncmp
46#undef strchr
47
40char* strncpy(char *, const char *, size_t); 48char* strncpy(char *, const char *, size_t);
41void* plugin_get_buffer(size_t *buffer_size); 49void* plugin_get_buffer(size_t *buffer_size);
42 50
@@ -119,12 +127,6 @@ void* plugin_get_buffer(size_t *buffer_size);
119#endif 127#endif
120 128
121 129
122/* on some platforms strcmp() seems to be a tricky define which
123 * breaks if we write down strcmp's prototype */
124#undef strcmp
125#undef strncmp
126#undef strchr
127
128#ifdef PLUGIN 130#ifdef PLUGIN
129 131
130#if defined(DEBUG) || defined(SIMULATOR) 132#if defined(DEBUG) || defined(SIMULATOR)