diff options
author | Araq <rumpf_a@web.de> | 2013-01-02 01:17:53 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-01-02 01:17:53 +0100 |
commit | 88a441ea8ea25f7a298a1279e0fb89274e2c544d (patch) | |
tree | cf6ccfc296c2a3df40b2790d0eea1af25c4b1de2 /lib/wrappers | |
parent | 23b90eaa3aab87a5c34cca4cb13a19611beed084 (diff) | |
download | Nim-88a441ea8ea25f7a298a1279e0fb89274e2c544d.tar.gz |
next steps for FFI at compile time
Diffstat (limited to 'lib/wrappers')
-rwxr-xr-x | lib/wrappers/sdl/sdl_image.nim | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/wrappers/sdl/sdl_image.nim b/lib/wrappers/sdl/sdl_image.nim index 7df9aedd4..16e41070b 100755 --- a/lib/wrappers/sdl/sdl_image.nim +++ b/lib/wrappers/sdl/sdl_image.nim @@ -128,19 +128,19 @@ # #****************************************************************************** -import +import sdl -when defined(windows): - const +when defined(windows): + const ImageLibName = "SDL_Image.dll" -elif defined(macosx): - const +elif defined(macosx): + const ImageLibName = "libSDL_image-1.2.0.dylib" -else: - const - ImageLibName = "libSDL_image.so" -const +else: + const + ImageLibName = "libSDL_image(.so|-1.2.so.0)" +const IMAGE_MAJOR_VERSION* = 1 IMAGE_MINOR_VERSION* = 2 IMAGE_PATCHLEVEL* = 5 |