Skip to content

Commit

Permalink
Cleanup header file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Apr 19, 2014
1 parent 1840d81 commit bc64af1
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/include/baconfig.h
Expand Up @@ -552,18 +552,8 @@ int m_msg(const char *file, int line, POOLMEM **msgbuf, const char *fmt, ...);
int m_msg(const char *file, int line, POOLMEM *&pool_buf, const char *fmt, ...);

/** Use our strdup with smartalloc */
#ifndef HAVE_WXCONSOLE
#undef strdup
#define strdup(buf) bad_call_on_strdup_use_bstrdup(buf)
#else
/* Groan, WxWidgets has its own way of doing NLS so cleanup */
#ifndef ENABLE_NLS
#undef _
#undef setlocale
#undef textdomain
#undef bindtextdomain
#endif
#endif

/** Use our fgets which handles interrupts */
#undef fgets
Expand Down Expand Up @@ -622,7 +612,7 @@ int m_msg(const char *file, int line, POOLMEM *&pool_buf, const char *fmt, ...);
#ifdef HAVE_SUN_OS
/*
* On Solaris 2.5/2.6/7 and 8, threads are not timesliced by default,
* so we need to explictly increase the conncurrency level.
* so we need to explictly increase the concurrency level.
*/
#ifdef USE_THR_SETCONCURRENCY
#include <thread.h>
Expand Down

0 comments on commit bc64af1

Please sign in to comment.