Place #ifdef's around MSVC #pragma's
Rewrite some signed/unsigned unions to use casts. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@956
This commit is contained in:
parent
d8eae49c04
commit
4916b5fb6c
10 changed files with 55 additions and 21 deletions
|
@ -33,9 +33,11 @@ namespace MAME {
|
|||
/* Defines */
|
||||
# define logerror(x)
|
||||
|
||||
#ifdef _MSC_VER
|
||||
/* Disable recurring warnings */
|
||||
# pragma warning ( disable : 4018 )
|
||||
# pragma warning ( disable : 4244 )
|
||||
#endif
|
||||
|
||||
/* Work around ANSI compliance problem (see driver.h) */
|
||||
struct __MALLOCPTR {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue