Next: , Previous: , Up: The Macros  


ax_wint_t

Synopsis

AX_WINT_T

Description

It turns out that MacOS X doesn’t guarantee to provide the "wint_t" type unless you include the strange header <runetype.h> in addition to <wchar.h>. Consequently, the "do I have a system wint_t?" probe fails and an alternate gets used. Unfortunately, by the time the program gets built, one way or another that funny header winds up getting included and the "#define wint_t unsigned int" patch-up-hack mutilates the typedef. This macro will get it right.

Source Code

Download the latest version of ax_wint_t.m4 or browse the macro’s revision history.

License

Copyright © 2008 Bruce Korb bkorb@gnu.org

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.