Skip to content

Commit

Permalink
hopefully fix libpinmame build part III
Browse files Browse the repository at this point in the history
  • Loading branch information
toxieainc committed Nov 25, 2023
1 parent 7987907 commit 50169cb
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cmake/libpinmame/CMakeLists_android-arm64-v8a.txt
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,8 @@ add_library(pinmame SHARED
src/wpc/degames.c
src/wpc/desound.c
src/wpc/desound.h
src/wpc/dmddevice.h
src/wpc/dmddevice.cpp
src/wpc/driver.c
src/wpc/efo.c
src/wpc/efosnd.c
Expand Down
2 changes: 2 additions & 0 deletions cmake/libpinmame/CMakeLists_ios-arm64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,8 @@ add_library(pinmame STATIC
src/wpc/degames.c
src/wpc/desound.c
src/wpc/desound.h
src/wpc/dmddevice.h
src/wpc/dmddevice.cpp
src/wpc/driver.c
src/wpc/efo.c
src/wpc/efosnd.c
Expand Down
2 changes: 2 additions & 0 deletions cmake/libpinmame/CMakeLists_linux-x64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ add_library(pinmame SHARED
src/wpc/degames.c
src/wpc/desound.c
src/wpc/desound.h
src/wpc/dmddevice.h
src/wpc/dmddevice.cpp
src/wpc/driver.c
src/wpc/efo.c
src/wpc/efosnd.c
Expand Down
2 changes: 2 additions & 0 deletions cmake/libpinmame/CMakeLists_osx-arm64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,8 @@ set(PINMAME_SOURCES
src/wpc/degames.c
src/wpc/desound.c
src/wpc/desound.h
src/wpc/dmddevice.h
src/wpc/dmddevice.cpp
src/wpc/driver.c
src/wpc/efo.c
src/wpc/efosnd.c
Expand Down
2 changes: 2 additions & 0 deletions cmake/libpinmame/CMakeLists_osx-x64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,8 @@ set(PINMAME_SOURCES
src/wpc/degames.c
src/wpc/desound.c
src/wpc/desound.h
src/wpc/dmddevice.h
src/wpc/dmddevice.cpp
src/wpc/driver.c
src/wpc/efo.c
src/wpc/efosnd.c
Expand Down
2 changes: 2 additions & 0 deletions cmake/libpinmame/CMakeLists_tvos-arm64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,8 @@ add_library(pinmame STATIC
src/wpc/degames.c
src/wpc/desound.c
src/wpc/desound.h
src/wpc/dmddevice.h
src/wpc/dmddevice.cpp
src/wpc/driver.c
src/wpc/efo.c
src/wpc/efosnd.c
Expand Down
2 changes: 2 additions & 0 deletions cmake/libpinmame/CMakeLists_win-arm64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ add_library(pinmame SHARED
src/wpc/degames.c
src/wpc/desound.c
src/wpc/desound.h
src/wpc/dmddevice.h
src/wpc/dmddevice.cpp
src/wpc/driver.c
src/wpc/efo.c
src/wpc/efosnd.c
Expand Down
2 changes: 2 additions & 0 deletions cmake/libpinmame/CMakeLists_win-x64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ add_library(pinmame SHARED
src/wpc/degames.c
src/wpc/desound.c
src/wpc/desound.h
src/wpc/dmddevice.h
src/wpc/dmddevice.cpp
src/wpc/driver.c
src/wpc/efo.c
src/wpc/efosnd.c
Expand Down
2 changes: 2 additions & 0 deletions cmake/libpinmame/CMakeLists_win-x86.txt
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ add_library(pinmame SHARED
src/wpc/degames.c
src/wpc/desound.c
src/wpc/desound.h
src/wpc/dmddevice.h
src/wpc/dmddevice.cpp
src/wpc/driver.c
src/wpc/efo.c
src/wpc/efosnd.c
Expand Down
5 changes: 4 additions & 1 deletion src/wpc/dmddevice.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef WIN32

#include "dmddevice.h"

#ifdef WIN32
#else

#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
Expand All @@ -10,6 +12,7 @@
#include "gen.h"
#include "core.h"
#include "cpu/at91/at91.h"
#include "dmddevice.h"

#ifndef LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR
#define LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR 0x00000100
Expand Down

0 comments on commit 50169cb

Please sign in to comment.