diff --git a/ase/awk/build.com b/ase/awk/build.com index 26839452..150df7d8 100644 --- a/ase/awk/build.com +++ b/ase/awk/build.com @@ -1,5 +1,6 @@ $ $! build script for OpenVMS +$! define xp [dir.of.xpkit.xp] $ $ names := awk,err,tree,tab,map,parse,run,sa,val,func,misc,extio,rex $ gosub compile @@ -17,7 +18,8 @@ $ goto compile_loop $ $ compile_file: $ write sys$output "Compiling ''name'.c..." -$ cc/define=XP_AWK_STAND_ALONE 'name' +$! cc/define=XP_AWK_STAND_ALONE 'name' +$ cc/define=XP_AWK_STAND_ALONE /pointer_size=long 'name' $ return $ $ archive: diff --git a/ase/types.h b/ase/types.h index 3812ee13..f913b85d 100644 --- a/ase/types.h +++ b/ase/types.h @@ -1,5 +1,5 @@ /* - * $Id: types.h,v 1.50 2006-07-17 04:17:40 bacon Exp $ + * $Id: types.h,v 1.51 2006-07-28 17:20:27 bacon Exp $ */ #ifndef _XP_TYPES_H_ @@ -210,6 +210,9 @@ typedef int xp_mcint_t; typedef unsigned short xp_wchar_t; typedef unsigned short xp_wcint_t; #elif (XP_SIZEOF_WCHAR_T == 4) + #if defined(vms) || defined(__vms) + typedef unsigned int xp_wchar_t; + typedef int xp_wcint_t; #if XP_SIZEOF_LONG == 4 typedef long xp_wchar_t; typedef long xp_wcint_t;