diff options
author | David Carlton <carlton@bactrian.org> | 2003-03-06 00:56:43 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-03-06 00:56:43 +0000 |
commit | 7e08d3087ba5fdeb658bcd13d333082efce78257 (patch) | |
tree | 4301ea268ab39b53f7243453399615ac9cc0fdb4 /gdb/gdb_thread_db.h | |
parent | 0c40460023b3ee8a5b9b37f5bedd604f482f4963 (diff) | |
download | gdb-7e08d3087ba5fdeb658bcd13d333082efce78257.tar.gz |
2003-03-05 David Carlton <carlton@math.stanford.edu>
* Merge with mainline. Tag is carlton_dictionary-20030305-merge.
Diffstat (limited to 'gdb/gdb_thread_db.h')
-rw-r--r-- | gdb/gdb_thread_db.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/gdb_thread_db.h b/gdb/gdb_thread_db.h index c47c424588c..81dd0a062db 100644 --- a/gdb/gdb_thread_db.h +++ b/gdb/gdb_thread_db.h @@ -199,6 +199,16 @@ typedef struct td_notify } u; } td_notify_t; +/* Some people still have libc5 or old glibc with no uintptr_t. + They lose. glibc 2.1.3 was released on 2000-02-25, and it has + uintptr_t, so it's reasonable to force these people to upgrade. */ + +#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 + /* Structure used to report event. */ typedef struct td_event_msg { |