summaryrefslogtreecommitdiff
path: root/gdb/p-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/p-lang.c')
-rw-r--r--gdb/p-lang.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/p-lang.c b/gdb/p-lang.c
index 93dd2548f67..2c7b9fc9f02 100644
--- a/gdb/p-lang.c
+++ b/gdb/p-lang.c
@@ -212,6 +212,8 @@ pascal_printstr (struct ui_file *stream, char *string, unsigned int length,
struct type *
pascal_create_fundamental_type (struct objfile *objfile, int typeid)
{
+#if TYPEFIX
+
register struct type *type = NULL;
switch (typeid)
@@ -323,6 +325,9 @@ pascal_create_fundamental_type (struct objfile *objfile, int typeid)
break;
}
return (type);
+#else
+ return NULL;
+#endif
}