summaryrefslogtreecommitdiff
path: root/include/wntgccx/jni_md.h
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-06 11:38:05 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-06 11:38:36 +0200
commit057891e7a2721cdd204e1eef4051b2021d2c5c6b (patch)
tree472ee377d12b4458a6d1c37a60f141069504db73 /include/wntgccx/jni_md.h
parent52e0ff83639809b8f2e92a9899ed5ed795f3d780 (diff)
Some more movement to mingw64 port
Change-Id: I6af3cb1ac205dae20feb5a35481071bc4232680b
Diffstat (limited to 'include/wntgccx/jni_md.h')
-rw-r--r--include/wntgccx/jni_md.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/wntgccx/jni_md.h b/include/wntgccx/jni_md.h
new file mode 100644
index 000000000000..e77438d75e6b
--- /dev/null
+++ b/include/wntgccx/jni_md.h
@@ -0,0 +1,35 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+/* Fake jni_md.h for use when cross-compiling to Windows */
+
+#ifndef JNI_MD_H_INCLUDED
+#define JNI_MD_H_INCLUDED
+
+#define JNIEXPORT __declspec (dllexport)
+#define JNIIMPORT __declspec (dllimport)
+#define JNICALL __stdcall
+
+typedef long jint;
+typedef __int64 jlong;
+typedef char jbyte;
+
+#endif /* JNI_MD_H_INCLUDED */
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */