summaryrefslogtreecommitdiff
path: root/libretro/libretro-common/include/retro_common.h
diff options
context:
space:
mode:
authortwinaphex2018-01-17 00:17:17 +0100
committertwinaphex2018-01-17 00:17:17 +0100
commitc21dcf2342c50554f50e2df302287f5efc7ee5c2 (patch)
tree6f5525cb8b8a67f7575c339c2c063ecd603f3696 /libretro/libretro-common/include/retro_common.h
parent077f38e2702c4a704259c9026cf584a423d55982 (diff)
downloadsnes9x2002-c21dcf2342c50554f50e2df302287f5efc7ee5c2.tar.gz
snes9x2002-c21dcf2342c50554f50e2df302287f5efc7ee5c2.tar.bz2
snes9x2002-c21dcf2342c50554f50e2df302287f5efc7ee5c2.zip
Update memory stream
Diffstat (limited to 'libretro/libretro-common/include/retro_common.h')
-rw-r--r--libretro/libretro-common/include/retro_common.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/libretro/libretro-common/include/retro_common.h b/libretro/libretro-common/include/retro_common.h
new file mode 100644
index 0000000..5938bea
--- /dev/null
+++ b/libretro/libretro-common/include/retro_common.h
@@ -0,0 +1,37 @@
+/* Copyright (C) 2010-2017 The RetroArch team
+ *
+ * ---------------------------------------------------------------------------------------
+ * The following license statement only applies to this file (retro_common.h).
+ * ---------------------------------------------------------------------------------------
+ *
+ * Permission is hereby granted, free of charge,
+ * to any person obtaining a copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation the rights to
+ * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
+ * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+ * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+#ifndef _LIBRETRO_COMMON_RETRO_COMMON_H
+#define _LIBRETRO_COMMON_RETRO_COMMON_H
+
+/*
+This file is designed to normalize the libretro-common compiling environment.
+It is not to be used in public API headers, as they should be designed as leanly as possible.
+Nonetheless.. in the meantime, if you do something like use ssize_t, which is not fully portable,
+in a public API, you may need this.
+*/
+
+/* conditional compilation is handled inside here */
+#include <compat/msvc.h>
+
+#endif
+