Some build fixes for Mac OS X

This commit is contained in:
Ilari Liusvaara 2012-03-22 22:13:53 +02:00
parent aebb6c8c6d
commit ba8e8ceb85
3 changed files with 3 additions and 1 deletions

View file

@ -74,7 +74,7 @@ namespace
if(patch.size() < 19) if(patch.size() < 19)
(stringfmt() << "Patch is too masll to be valid BPS patch (" << patch.size() (stringfmt() << "Patch is too masll to be valid BPS patch (" << patch.size()
<< " < 19).").throwex(); << " < 19).").throwex();
size_t ioffset = 4; uint64_t ioffset = 4;
const char* _patch = &patch[0]; const char* _patch = &patch[0];
size_t psize = patch.size() - 12; size_t psize = patch.size() - 12;
uint32_t crc_init = crc32(0, NULL, 0); uint32_t crc_init = crc32(0, NULL, 0);

View file

@ -4,6 +4,7 @@
#include "core/framebuffer.hpp" #include "core/framebuffer.hpp"
#include "core/framerate.hpp" #include "core/framerate.hpp"
#include "core/window.hpp" #include "core/window.hpp"
#include "interface/core.hpp"
#include "platform/sdl/platform.hpp" #include "platform/sdl/platform.hpp"
#include <unistd.h> #include <unistd.h>

View file

@ -1,3 +1,4 @@
#include "lsnes.hpp"
#include "core/command.hpp" #include "core/command.hpp"
#include "core/framerate.hpp" #include "core/framerate.hpp"
#include "core/keymapper.hpp" #include "core/keymapper.hpp"