Define scm_t_wchar in one place

* libguile/__scm.h (scm_t_wchar): Move definition here, closer to
  scm_t_int32 definition (pulled in by scmconfig.h).
* libguile/numbers.h:
* libguile/chars.h: Remove weird maybe-definitions.
This commit is contained in:
Andy Wingo 2018-06-20 11:38:08 +02:00
commit b64941f5af
3 changed files with 9 additions and 10 deletions

View file

@ -32,11 +32,6 @@
#include "libguile/gc.h"
#include "libguile/print.h"
#ifndef SCM_T_WCHAR_DEFINED
typedef scm_t_int32 scm_t_wchar;
#define SCM_T_WCHAR_DEFINED
#endif /* SCM_T_WCHAR_DEFINED */
/* Immediate Numbers, also known as fixnums