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 Feb 17, 2015
1 parent 2cc4be3 commit e5c4d1c
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/include/baconfig.h
Expand Up @@ -542,18 +542,8 @@ 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 @@ -612,7 +602,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 e5c4d1c

Please sign in to comment.