mirror of
https://github.com/holub/mame
synced 2025-07-05 09:57:47 +03:00
astring: Fix build on NetBSD and other systems where toupper() is a macro [Thomas Klausner]
This commit is contained in:
parent
429964cfbb
commit
45d9031cc8
@ -43,8 +43,15 @@
|
||||
#define __ASTRING_H__
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <ctype.h>
|
||||
#include "osdcomm.h"
|
||||
|
||||
#ifdef toupper
|
||||
#undef toupper
|
||||
#endif
|
||||
#ifdef tolower
|
||||
#undef tolower
|
||||
#endif
|
||||
|
||||
/***************************************************************************
|
||||
TYPE DEFINITIONS
|
||||
|
Loading…
Reference in New Issue
Block a user