more clang and Linux compilation fixes (nw)

This commit is contained in:
Oliver Stöneberg 2014-03-11 17:27:39 +00:00
parent 7f6756ef15
commit d965157fcc
3 changed files with 3 additions and 7 deletions

View File

@ -78,6 +78,7 @@ static void output_exit(running_machine &machine);
INLINE FUNCTIONS INLINE FUNCTIONS
***************************************************************************/ ***************************************************************************/
#if 0
/*------------------------------------------------- /*-------------------------------------------------
copy_string - make a copy of a string copy_string - make a copy of a string
-------------------------------------------------*/ -------------------------------------------------*/
@ -88,6 +89,7 @@ INLINE const char *copy_string(const char *string)
strcpy(newstring, string); strcpy(newstring, string);
return newstring; return newstring;
} }
#endif
/*------------------------------------------------- /*-------------------------------------------------

View File

@ -1254,7 +1254,7 @@ void softlist_parser::parse_data_start(const char *tagname, const char **attribu
add_rom_entry(name, hashdata, 0, 0, ROMENTRYTYPE_ROM | (writeable ? DISK_READWRITE : DISK_READONLY)); add_rom_entry(name, hashdata, 0, 0, ROMENTRYTYPE_ROM | (writeable ? DISK_READWRITE : DISK_READONLY));
} }
else if (status == NULL || strcmp(status, "nodump") != NULL) // a no_dump chd is not an incomplete entry else if (status == NULL || !strcmp(status, "nodump")) // a no_dump chd is not an incomplete entry
parse_error("Incomplete disk definition"); parse_error("Incomplete disk definition");
} }

View File

@ -17,12 +17,6 @@
#include "pmlinux.h" #include "pmlinux.h"
#include "osdcomm.h" #include "osdcomm.h"
#ifdef PTR64
typedef UINT64 FPTR;
#else
typedef UINT32 FPTR;
#endif
#include <alsa/asoundlib.h> #include <alsa/asoundlib.h>
/* I used many print statements to debug this code. I left them in the /* I used many print statements to debug this code. I left them in the