diff options
author | Steve Chamberlain <sac@cygnus> | 1995-10-29 06:58:26 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1995-10-29 06:58:26 +0000 |
commit | 686941a9cb0fd5bf888ef61a81b5a5775fdb1367 (patch) | |
tree | e874affd2b7269b7a6d6d872783036d91e32564c /gdb/utils.c | |
parent | 136ca05d3a91b07c967994b51c48d9991546af87 (diff) | |
download | gdb-686941a9cb0fd5bf888ef61a81b5a5775fdb1367.zip gdb-686941a9cb0fd5bf888ef61a81b5a5775fdb1367.tar.gz gdb-686941a9cb0fd5bf888ef61a81b5a5775fdb1367.tar.bz2 |
Sat Oct 28 23:51:48 1995 steve chamberlain <sac@slash.cygnus.com>
* defs.h: Test on name __WIN32__ rather than WIN32.
* inflow.c (new_tty): Likewise
* terminal.h: Likewise.
* utils.c (initialize_utils): Likewise.
* win32-nat.c (child_create_inferiror): Print error code when failing.
* config/i386/win32.mh (XM_CLIBS): Need -lkernel32.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 8bd01f8..97b6a9b 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "defs.h" -#if !defined(__GO32__) && !defined(WIN32) +#if !defined(__GO32__) && !defined(__WIN32__) #include <sys/ioctl.h> #include <sys/param.h> #include <pwd.h> @@ -1865,7 +1865,7 @@ initialize_utils () /* These defaults will be used if we are unable to get the correct values from termcap. */ -#if defined(__GO32__) || defined(WIN32) +#if defined(__GO32__) || defined(__WIN32__) lines_per_page = ScreenRows(); chars_per_line = ScreenCols(); #else |