view src/s/sco5-shr.h @ 4351:bc3b9f61018e

Respect the CODESYS argument in #'open-database; don't autodetect EOL. 2007-12-22 Aidan Kehoe <kehoea@parhasard.net> * database.c (Fopen_database): Actually respect the CODESYS argument; don't require EOL autodetection from the coding system, because autodetection mostly fails with reads of small amounts of data. It might be possible with an implicit #'map-database on open, though I don't think that's a great idea. * database.c (print_database): Give the coding system used for text conversion when printing a database object.
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 22 Dec 2007 15:02:04 +0100
parents 3ecd8885ac67
children
line wrap: on
line source

/* Synched up with: Not in FSF. */

#include "sco5.h"

/* XEmacs change. */
#undef LINKER
#undef C_OPTIMIZE_SWITCH
#undef C_DEBUG_SWITCH
#undef C_SWITCH_SYSTEM

#ifndef __GNUC__
#define LINKER "cc -belf -dy -Xc"
#define C_OPTIMIZE_SWITCH "-O3 -Xc"
#define C_DEBUG_SWITCH "-g -Xc"
#define C_SWITCH_SYSTEM "-belf -D_NO_STATIC -D_SCO_ELF"
#else
#define LINKER "gcc -melf -Xc"
#define C_OPTIMIZE_SWITCH "-O99 -m486 -fomit-frame-pointer -Xc"
#define C_DEBUG_SWITCH "-g -Xc"
#define C_SWITCH_SYSTEM "-melf -D_NO_STATIC -D_SCO_ELF"
#endif