diff options
Diffstat (limited to 'common/forbidden.h')
-rw-r--r-- | common/forbidden.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/forbidden.h b/common/forbidden.h index 8f0220bb04..4ea481d9e3 100644 --- a/common/forbidden.h +++ b/common/forbidden.h @@ -459,6 +459,10 @@ #define strncasecmp(a,b,c) FORBIDDEN_SYMBOL_REPLACEMENT #endif +#ifndef FORBIDDEN_SYMBOL_EXCEPTION_strdup +#undef strdup +#define strdup(a) FORBIDDEN_SYMBOL_REPLACEMENT +#endif /* * We also would like to disable the following symbols; |