diff --git a/source/platform.h b/source/platform.h
index 635d94f..5603190 100644
--- a/source/platform.h
+++ b/source/platform.h
@@ -28,6 +28,8 @@
  *  Intel 64-bit processor
  * TARGET_CPU_PPC
  *  IBM PowerPC processor
+ * TARGET_CPU_SH
+ *  Renesas Electronics SuperH processor
  *
  * TARGET_OS_WINDOWS
  *  Windows
@@ -157,6 +159,19 @@
 #endif
 #endif
 
+/* Renesas SH */
+#if !defined (PROCESSOR_DETECTED)
+#if defined (__sh__)
+#define PROCESSOR_DETECTED
+#define TARGET_CPU_SH
+#if defined (__little_endian__)
+#define TARGET_LIDDLE_ENDIAN
+#elif defined (__big_endian__)
+#define TARGET_BIG_ENDIAN
+#endif /* __little_endian__ */
+#endif /* __sh__ */
+#endif /* ! PROCESSOR_DETECTED */
+
 /* ------------------- *
 * COMPILER DETECTION  *
 * ------------------- */
