summaryrefslogtreecommitdiff
path: root/packages/libsdl/libsdl-qpe-1.2.9/explicit-extern-C.patch
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-05-25 08:08:57 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-05-25 08:08:57 +0000
commita2e65dd07aec97398476b35e86bc6ad4530eb6d7 (patch)
tree2ba248ee5d407a29453cbe23000a33997af706b7 /packages/libsdl/libsdl-qpe-1.2.9/explicit-extern-C.patch
parentd43a11ae2f7b697a6ca24d5361cc9cdfe23b4016 (diff)
parent43fb8ca56a22860ebaac1dd2750a5a0b875cfe4d (diff)
merge of '266ecf7b63664e3503a2eec2b609cc4d504973a6'
and '8189ef74dcc57287fc2af68825813a90e11f098e'
Diffstat (limited to 'packages/libsdl/libsdl-qpe-1.2.9/explicit-extern-C.patch')
-rw-r--r--packages/libsdl/libsdl-qpe-1.2.9/explicit-extern-C.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/libsdl/libsdl-qpe-1.2.9/explicit-extern-C.patch b/packages/libsdl/libsdl-qpe-1.2.9/explicit-extern-C.patch
new file mode 100644
index 0000000000..3dd44bea27
--- /dev/null
+++ b/packages/libsdl/libsdl-qpe-1.2.9/explicit-extern-C.patch
@@ -0,0 +1,22 @@
+--- SDL-1.2.9-orig/src/video/SDL_sysvideo.h.org 2005-04-17 10:40:41.000000000 +0000
++++ SDL-1.2.9-orig/src/video/SDL_sysvideo.h 2007-05-25 07:34:38.000000000 +0000
+@@ -332,6 +332,9 @@
+ SDL_VideoDevice *(*create)(int devindex);
+ } VideoBootStrap;
+
++#ifdef __cplusplus
++extern "C" {
++#endif
+ #ifdef ENABLE_X11
+ extern VideoBootStrap X11_bootstrap;
+ #endif
+@@ -417,6 +420,9 @@
+ #ifdef ENABLE_RISCOS
+ extern VideoBootStrap RISCOS_bootstrap;
+ #endif
++#ifdef __cplusplus
++};
++#endif
+ /* This is the current video device */
+ extern SDL_VideoDevice *current_video;
+