Skip to content

Commit

Permalink
Add ppc64 and ppc64le support
Browse files Browse the repository at this point in the history
  • Loading branch information
fitzsim committed Aug 8, 2023
1 parent 336ae28 commit b9ed9e5
Show file tree
Hide file tree
Showing 4 changed files with 9,377 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sdl2.asd
Expand Up @@ -26,6 +26,8 @@
(:static-file "SDL2.i686-pc-linux-gnu.spec")
(:static-file "SDL2.i686-pc-windows-msvc.spec")
(:static-file "SDL2.i686-unknown-linux-android.spec")
(:static-file "SDL2.powerpc64-pc-linux-gnu.spec")
(:static-file "SDL2.powerpc64le-pc-linux-gnu.spec")
(:static-file "SDL2.x86_64-apple-darwin9.spec")
(:static-file "SDL2.x86_64-pc-linux-gnu.spec")
(:static-file "SDL2.x86_64-pc-windows-msvc.spec")
Expand Down
5 changes: 4 additions & 1 deletion src/autowrap.lisp
Expand Up @@ -17,7 +17,10 @@
"SDL2")
:sysincludes `,(cl:append
#+openbsd (cl:list "/usr/X11R6/include")
#+(and unix (not darwin))
;; On ppc64 avoid interference from clang's
;; inttypes.h, so that Uint8/Uint16/Uint32/Uint64 map
;; correctly to uint8_t/uint16_t/uint32_t/uint64_t.
#+(and unix (not darwin) (not ppc64))
(cl:list "/usr/lib/clang/13.0.1/include/"))
:exclude-definitions ("SDL_main"
"SDL_LogMessageV"
Expand Down

0 comments on commit b9ed9e5

Please sign in to comment.