--- freem/src/symtab_bltin.c 2025/03/09 19:50:47 1.4 +++ freem/src/symtab_bltin.c 2025/03/24 04:13:11 1.6 @@ -1,5 +1,5 @@ /* - * $Id: symtab_bltin.c,v 1.4 2025/03/09 19:50:47 snw Exp $ + * $Id: symtab_bltin.c,v 1.6 2025/03/24 04:13:11 snw Exp $ * FreeM local system table and user-defined special variable table * * @@ -24,6 +24,12 @@ * along with FreeM. If not, see . * * $Log: symtab_bltin.c,v $ + * Revision 1.6 2025/03/24 04:13:11 snw + * Replace action macro dat with fra_dat to avoid symbol conflict on OS/2 + * + * Revision 1.5 2025/03/24 02:01:41 snw + * Work around some OS/2 incompatibilities in symbol table code + * * Revision 1.4 2025/03/09 19:50:47 snw * Second phase of REUSE compliance and header reformat * @@ -52,7 +58,7 @@ symbol-table calls */ short restoring_consts = FALSE; int semid_symtab; -#if !defined(__OpenBSD__) && !defined(__APPLE__) +#if !defined(__OpenBSD__) && !defined(__APPLE__) && !defined(__OS2__) union semun { int val; /* Value for SETVAL */ struct semid_ds *buf; /* Buffer for IPC_STAT, IPC_SET */ @@ -943,7 +949,7 @@ old0: /* entry from getinc */ /* end of set_sym section */ - case dat: + case fra_dat: /* note: we assume EOL