My favorites
▼
|
Sign in
hxcpp
Runtime files for c++ backend for haxe
Project Home
Wiki
Issues
Source
Export to GitHub
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
22
attachment: nme-64bit-r317.patch
(1.9 KB)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Index: project/BitmapFilters.cpp
===================================================================
--- project/BitmapFilters.cpp (revision 317)
+++ project/BitmapFilters.cpp (working copy)
@@ -5,6 +5,9 @@
#include "renderer/Pixel.h"
#include "math.h"
#include "nme.h"
+#ifdef NEKO_GCC
+#include <cstring>
+#endif
#ifndef M_PI
#define M_PI 3.14159265358979323846
Index: project/texture_buffer.h
===================================================================
--- project/texture_buffer.h (revision 317)
+++ project/texture_buffer.h (working copy)
@@ -5,6 +5,9 @@
#include <hx/CFFI.h>
#include <SDL.h>
#include "Matrix.h"
+#ifdef NEKO_GCC
+#include <cstring>
+#endif
DECLARE_KIND( k_texture_buffer );
Index: project/ByteArray.cpp
===================================================================
--- project/ByteArray.cpp (revision 317)
+++ project/ByteArray.cpp (working copy)
@@ -1,4 +1,7 @@
#include "ByteArray.h"
+#ifdef NEKO_GCC
+#include <cstring>
+#endif
DEFINE_KIND( k_byte_array );
Index: project/BuildNME.xml
===================================================================
--- project/BuildNME.xml (revision 317)
+++ project/BuildNME.xml (working copy)
@@ -32,6 +32,7 @@
<compilerflag value="-I${HXCPP}/include"/>
<compilerflag value="-I../../sdl-static/include"/>
<compilerflag value="-I../../sdl-static/include/${SDLVER}"/>
+ <compilerflag value="-fPIC" if="HXCPP_M64"/>
<compilerflag value="-D${SDLVER}" if="iphone"/>
<compilerflag value="-I/usr/X11R6/include" if="apple"/>
@@ -94,7 +95,8 @@
<lib name="${SDLLIB}libsmpeg${SLIBEXT}" unless="iphone"/>
<lib name="${SDLLIB}libvorbis${SLIBEXT}"/>
<lib name="${SDLLIB}libogg${SLIBEXT}"/>
- <lib name="${SDLLIB}zlib${SLIBEXT}"/>
+ <lib name="${SDLLIB}libz${SLIBEXT}" if="linux"/>
+ <lib name="${SDLLIB}zlib${SLIBEXT}" unless="linux"/>
<lib name="${SDLLIB}libSDL${SLIBEXT}"/>
<lib name="opengl32.lib" if="windows"/>
Powered by
Google Project Hosting