diff --git a/include/nuttx/compiler.h b/include/nuttx/compiler.h
index db66d037acf97736e134766bcb00523f4138dc95..f78f5c261dc93316cb49b2ba2c3b1821f421e666 100644
--- a/include/nuttx/compiler.h
+++ b/include/nuttx/compiler.h
@@ -1,7 +1,7 @@
 /****************************************************************************
  * include/nuttx/compiler.h
  *
- *   Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
+ *   Copyright (C) 2007, 2008, 2009 Gregory Nutt. All rights reserved.
  *   Author: Gregory Nutt <spudmonkey@racsa.co.cr>
  *
  * Redistribution and use in source and binary forms, with or without
@@ -99,6 +99,20 @@
 # define DSEG
 # define CODE
 
+#ifdef __m32c__
+/* Select the small, 16-bit addressing model */
+
+# define  CONFIG_SMALL_MEMORY 1
+
+/* Long and int are not the same size */
+
+# define  CONFIG_LONG_IS_NOT_INT 1
+
+/* Pointers and int are the same size */
+
+# undef  CONFIG_PTR_IS_NOT_INT
+
+#else
 /* Select the large, 32-bit addressing model */
 
 # undef  CONFIG_SMALL_MEMORY
@@ -110,6 +124,7 @@
 /* Pointers and int are the same size */
 
 # undef  CONFIG_PTR_IS_NOT_INT
+#endif
 
 /* GCC supports inlined functions */