[rfa] gdb_thread_db.h: #errror if no uintptr_t

Joel Brobecker brobecker@gnat.com
Wed Feb 26 18:39:00 GMT 2003


> +#ifndef HAVE_UINTPTR_T
> +#error No uintptr_t available; your C library is too old.
> +/* Inhibit further compilation errors after this error.  */
> +#define uintptr_t void *
> +#endif

Forgive my curiosity, why adding the "#define uintptr_t"? Isn't the
compilation going to stop with the #error message anyway?

-- 
Joel



More information about the Gdb-patches mailing list