Don't doubly define scm_t_wchar
authorMichael Gran <spk121@yahoo.com>
Sat, 1 Aug 2009 18:21:46 +0000 (11:21 -0700)
committerMichael Gran <spk121@yahoo.com>
Sat, 1 Aug 2009 18:21:46 +0000 (11:21 -0700)
        * libguile/chars.h: don't define scm_t_wchar
        * libguile/numbers.h: define scm_t_wchar here

libguile/chars.h
libguile/numbers.h

index 97fa0cd..4d1be1d 100644 (file)
 \f
 
 #include "libguile/__scm.h"
+#include "libguile/numbers.h"
 
 \f
 /* Immediate Characters
  */
-
-#ifndef SCM_WCHAR_DEFINED
-typedef scm_t_int32 scm_t_wchar;
-#define SCM_WCHAR_DEFINED
-#endif
-
 #define SCM_CHARP(x) (SCM_ITAG8(x) == scm_tc8_char)
 #define SCM_CHAR(x) ((scm_t_wchar)SCM_ITAG8_DATA(x))
 
index f30f7d0..bb72d7a 100644 (file)
@@ -174,10 +174,7 @@ typedef struct scm_t_complex
   double imag;
 } scm_t_complex;
 
-#ifndef SCM_WCHAR_DEFINED
 typedef scm_t_int32 scm_t_wchar;
-#define SCM_WCHAR_DEFINED
-#endif
 
 \f