summaryrefslogtreecommitdiffstats
path: root/chrome/nacl/sel_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/nacl/sel_main.cc')
-rw-r--r--chrome/nacl/sel_main.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/nacl/sel_main.cc b/chrome/nacl/sel_main.cc
index c1f56d6..4a2427b 100644
--- a/chrome/nacl/sel_main.cc
+++ b/chrome/nacl/sel_main.cc
@@ -8,6 +8,10 @@
#include <crt_externs.h>
#endif
+#ifdef _WIN64 /* TODO(gregoryd): remove this when win64 issues are fixed */
+#define NACL_NO_INLINE
+#endif
+
EXTERN_C_BEGIN
#include "native_client/src/shared/platform/nacl_sync.h"
#include "native_client/src/shared/platform/nacl_sync_checked.h"
@@ -50,6 +54,10 @@ static void StopForDebuggerInit(const struct NaClApp *state) {
}
int SelMain(const int desc, const NaClHandle handle) {
+#ifdef _WIN64
+ /* TODO(gregoryd): remove this when NaCl's service_runtime supports Win64 */
+ return 0;
+#else
char *av[1];
int ac = 1;
@@ -196,5 +204,6 @@ int SelMain(const int desc, const NaClHandle handle) {
NaClAllModulesFini();
return ret_code;
+#endif
}