From 625e0119a4db872879655fa20a2099813995c946 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Sat, 20 Dec 2008 14:46:54 +0000 Subject: [PATCH] * missing var * allow the export of symbols with VC++ SVN revision: 38249 --- src/bin/engine_direct3d.cpp | 1 + src/bin/main.h | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/src/bin/engine_direct3d.cpp b/src/bin/engine_direct3d.cpp index 6304781..efcafbc 100644 --- a/src/bin/engine_direct3d.cpp +++ b/src/bin/engine_direct3d.cpp @@ -174,6 +174,7 @@ engine_direct3d_args(int argc, char **argv) HDC dc; MSG msg; Evas_Engine_Info_Direct3D *einfo; + DWORD style; int depth; int i; int ok = 0; diff --git a/src/bin/main.h b/src/bin/main.h index 03c41b7..cf6143e 100644 --- a/src/bin/main.h +++ b/src/bin/main.h @@ -64,6 +64,11 @@ #include "engine_software_16_wince.h" #endif +#ifdef __cplusplus +extern "C" +{ +#endif + #include "ui.h" #include "about.h" @@ -80,6 +85,10 @@ const char *build_path(const char *filename); void engine_loop(void); int engine_abort(void); +#ifdef __cplusplus +} +#endif + #define KEY_STD \ if ((!strcmp(key, "Escape")) || (!strcmp(key, "q")) || (!strcmp(key, "Q")) || (!strcmp(key, "Return"))) \ { \