diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2008-02-04 17:27:36 +0000 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2008-02-04 17:27:36 +0000 |
commit | c0bc797888951a468475c76d3cfa00c2a2a92547 (patch) | |
tree | e69d397163f86a2ca13335bb2ec190150a5e7707 /mac/inc | |
parent | e3a77b22d272d31cedbd9eab9b37feda0e13f8d6 (diff) | |
download | emacs-c0bc797888951a468475c76d3cfa00c2a2a92547.tar.gz |
* make-dist: Remove references to files in mac/ that have been
deleted.
* README:
* INSTALL: Only mention MacOSX.
* cw6-mcp.xml:
* make-package:
* makefile.MPW:
* inc/alloca.h:
* inc/config.h:
* inc/defs-cw6.h:
* inc/dirent.h:
* inc/epaths.h:
* inc/grp.h:
* inc/m-mac.h:
* inc/pwd.h:
* inc/s-mac.h:
* inc/termio.h:
* inc/utime.h:
* inc/utsname.h:
* inc/sys/file.h:
* inc/sys/ioctl.h:
* inc/sys/param.h:
* inc/sys/stat.h:
* inc/sys/time.h:
* inc/sys/types.h:
* src/EmacsMPW.r: Remove files for no longer supported pre-MacOSX
systems.
Diffstat (limited to 'mac/inc')
-rw-r--r-- | mac/inc/alloca.h | 33 | ||||
-rw-r--r-- | mac/inc/config.h | 1196 | ||||
-rw-r--r-- | mac/inc/defs-cw6.h | 30 | ||||
-rw-r--r-- | mac/inc/dirent.h | 52 | ||||
-rw-r--r-- | mac/inc/epaths.h | 68 | ||||
-rwxr-xr-x | mac/inc/grp.h | 37 | ||||
-rw-r--r-- | mac/inc/m-mac.h | 121 | ||||
-rw-r--r-- | mac/inc/pwd.h | 41 | ||||
-rw-r--r-- | mac/inc/s-mac.h | 317 | ||||
-rw-r--r-- | mac/inc/sys/file.h | 63 | ||||
-rw-r--r-- | mac/inc/sys/ioctl.h | 35 | ||||
-rw-r--r-- | mac/inc/sys/param.h | 32 | ||||
-rw-r--r-- | mac/inc/sys/stat.h | 90 | ||||
-rw-r--r-- | mac/inc/sys/time.h | 50 | ||||
-rw-r--r-- | mac/inc/sys/types.h | 44 | ||||
-rw-r--r-- | mac/inc/termio.h | 72 | ||||
-rw-r--r-- | mac/inc/utime.h | 41 | ||||
-rw-r--r-- | mac/inc/utsname.h | 36 |
18 files changed, 0 insertions, 2358 deletions
diff --git a/mac/inc/alloca.h b/mac/inc/alloca.h deleted file mode 100644 index 5de835770ed..00000000000 --- a/mac/inc/alloca.h +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (C) 2001, 2002, 2003, 2004, 2005, - 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by the -Free Software Foundation; either version 3, or (at your option) any -later version. - -GNU Emacs is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to the Free -Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -#ifndef _ALLOCA_H_ -#define _ALLOCA_H_ - -#if __MRC__ -void *__alloca(size_t size); -#endif - -#endif - -/* arch-tag: 8d4114d1-633e-49e7-8f18-b5648f9c4511 - (do not change this comment) */ diff --git a/mac/inc/config.h b/mac/inc/config.h deleted file mode 100644 index 72d4e32bc0b..00000000000 --- a/mac/inc/config.h +++ /dev/null @@ -1,1196 +0,0 @@ -/* Handcrafted Emacs site configuration file for Mac OS 9. -*- C -*- */ - -/* GNU Emacs site configuration template file. -*- C -*- - Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -/* No code in Emacs #includes config.h twice, but some bits of code - intended to work with other packages as well (like gmalloc.c) - think they can include it as many times as they like. */ -#ifndef EMACS_CONFIG_H -#define EMACS_CONFIG_H - - -/* Define to 1 if the mktime function is broken. */ -/* #undef BROKEN_MKTIME */ - -/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP - systems. This function is required for `alloca.c' support on those systems. - */ -/* #undef CRAY_STACKSEG_END */ - -/* Define to 1 if using `alloca.c'. */ -#ifndef __MRC__ /* CodeWarrior */ -#define C_ALLOCA 1 -#endif - -/* Define to 1 if using `getloadavg.c'. */ -/* #undef C_GETLOADAVG */ - -/* Define C_SWITCH_X_SITE to contain any special flags your compiler may need - to deal with X Windows. For instance, if you've defined HAVE_X_WINDOWS - above and your X include files aren't in a place that your compiler can - find on its own, you might want to add "-I/..." or something similar. */ -/* #undef C_SWITCH_X_SITE */ - -/* Define to 1 for DGUX with <sys/dg_sys_info.h>. */ -/* #undef DGUX */ - -/* Define to 1 if you are using the GNU C Library. */ -/* #undef DOUG_LEA_MALLOC */ - -/* Define to the canonical Emacs configuration name. */ -#ifdef __MRC__ -#define EMACS_CONFIGURATION "macos-mpw" -#else /* Assume CodeWarrior */ -#define EMACS_CONFIGURATION "macos-cw" -#endif - -/* Define to the options passed to configure. */ -#define EMACS_CONFIG_OPTIONS "" - -/* Define to 1 if the `getloadavg' function needs to be run setuid or setgid. - */ -/* #undef GETLOADAVG_PRIVILEGED */ - -/* Define to 1 if the `getpgrp' function requires zero arguments. */ -/* #undef GETPGRP_VOID */ - -/* Define to 1 if gettimeofday accepts only one argument. */ -#define GETTIMEOFDAY_ONE_ARGUMENT 1 - -/* Define to 1 if you want to use the GNU memory allocator. */ -/* #undef GNU_MALLOC */ - -/* Define to 1 if the file /usr/lpp/X11/bin/smt.exp exists. */ -/* #undef HAVE_AIX_SMT_EXP */ - -/* Define to 1 if you have the `alarm' function. */ -/* #undef HAVE_ALARM */ - -/* Define to 1 if you have `alloca', as a function or macro. */ -#ifdef __MRC__ -#define HAVE_ALLOCA 1 -#endif - -/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). - */ -#ifdef __MRC__ -#define HAVE_ALLOCA_H 1 -#endif - -/* Define to 1 if ALSA is available. */ -/* #undef HAVE_ALSA */ - -/* Define to 1 if you have the `bcmp' function. */ -/* #undef HAVE_BCMP */ - -/* Define to 1 if you have the `bcopy' function. */ -/* #undef HAVE_BCOPY */ - -/* Define to 1 if you have the `bzero' function. */ -/* #undef HAVE_BZERO */ - -/* Define to 1 if you are using the Carbon API on Mac OS X. */ -/* #undef HAVE_CARBON */ - -/* Define to 1 if you have the `cbrt' function. */ -/* #undef HAVE_CBRT */ - -/* Define to 1 if you have the `closedir' function. */ -#define HAVE_CLOSEDIR 1 - -/* Define to 1 if you have the <coff.h> header file. */ -/* #undef HAVE_COFF_H */ - -/* Define to 1 if you have the <com_err.h> header file. */ -/* #undef HAVE_COM_ERR_H */ - -/* Define to 1 if you have /usr/lib/crti.o. */ -/* #undef HAVE_CRTIN */ - -/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you - don't. */ -/* #undef HAVE_DECL_SYS_SIGLIST */ - -/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. - */ -/* #undef HAVE_DECL_TZNAME */ - -/* Define to 1 if you have the declaration of `__sys_siglist', and to 0 if you - don't. */ -/* #undef HAVE_DECL___SYS_SIGLIST */ - -/* Define to 1 if you have the <des.h> header file. */ -/* #undef HAVE_DES_H */ - -/* Define to 1 if dynamic ptys are supported. */ -/* #undef HAVE_DEV_PTMX */ - -/* Define to 1 if you have the `difftime' function. */ -#define HAVE_DIFFTIME 1 - -/* Define to 1 if you have the `dup2' function. */ -/* #undef HAVE_DUP2 */ - -/* Define to 1 if you have the `euidaccess' function. */ -/* #undef HAVE_EUIDACCESS */ - -/* Define to 1 if you have the <fcntl.h> header file. */ -#define HAVE_FCNTL_H 1 - -/* Define to 1 if you have the `fmod' function. */ -#define HAVE_FMOD 1 - -/* Define to 1 if you have the `fork' function. */ -/* #undef HAVE_FORK */ - -/* Define to 1 if you have the `fpathconf' function. */ -/* #undef HAVE_FPATHCONF */ - -/* Define to 1 if you have the `frexp' function. */ -#define HAVE_FREXP 1 - -/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ -/* #undef HAVE_FSEEKO */ - -/* Define to 1 if you have the `fsync' function. */ -/* #undef HAVE_FSYNC */ - -/* Define to 1 if you have the `ftime' function. */ -/* #undef HAVE_FTIME */ - -/* Define to 1 if you have the `gai_strerror' function. */ -/* #undef HAVE_GAI_STRERROR */ - -/* Define to 1 if you have the `gdk_display_open' function. */ -/* #undef HAVE_GDK_DISPLAY_OPEN */ - -/* Define to 1 if you have the `getaddrinfo' function. */ -/* #undef HAVE_GETADDRINFO */ - -/* Define to 1 if you have the `getcwd' function. */ -/* #undef HAVE_GETCWD */ - -/* Define to 1 if you have the `getdelim' function. */ -/* #undef HAVE_GETDELIM */ - -/* Define to 1 if you have the `getdomainname' function. */ -/* #undef HAVE_GETDOMAINNAME */ - -/* Define to 1 if you have the `gethostname' function. */ -/* #undef HAVE_GETHOSTNAME */ - -/* Define to 1 if you have the `getline' function. */ -/* #undef HAVE_GETLINE */ - -/* Define to 1 if you have the `getloadavg' function. */ -/* #undef HAVE_GETLOADAVG */ - -/* Define to 1 if you have the <getopt.h> header file. */ -/* #undef HAVE_GETOPT_H */ - -/* Define to 1 if you have the `getopt_long_only' function. */ -/* #undef HAVE_GETOPT_LONG_ONLY */ - -/* Define to 1 if you have the `getpagesize' function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define to 1 if you have the `getpeername' function. */ -/* #undef HAVE_GETPEERNAME */ - -/* Define to 1 if you have the `getpt' function. */ -/* #undef HAVE_GETPT */ - -/* Define to 1 if you have the `getrusage' function. */ -/* #undef HAVE_GETRUSAGE */ - -/* Define to 1 if you have the `getsockname' function. */ -/* #undef HAVE_GETSOCKNAME */ - -/* Define to 1 if you have the `getsockopt' function. */ -/* #undef HAVE_GETSOCKOPT */ - -/* Define to 1 if you have the `gettimeofday' function. */ -#define HAVE_GETTIMEOFDAY 1 - -/* Define to 1 if you have the `getwd' function. */ -#define HAVE_GETWD 1 - -/* Define to 1 if you have the `get_current_dir_name' function. */ -/* #undef HAVE_GET_CURRENT_DIR_NAME */ - -/* Define to 1 if you have the ungif library (-lungif). */ -/* #undef HAVE_GIF */ - -/* Define to 1 if you have the `grantpt' function. */ -/* #undef HAVE_GRANTPT */ - -/* Define to 1 if using GTK. */ -/* #undef HAVE_GTK */ - -/* Define to 1 if you have GTK and pthread (-lpthread). */ -/* #undef HAVE_GTK_AND_PTHREAD */ - -/* Define to 1 if GTK has both file selection and chooser dialog. */ -/* #undef HAVE_GTK_FILE_BOTH */ - -/* Define to 1 if you have the `gtk_file_chooser_dialog_new' function. */ -/* #undef HAVE_GTK_FILE_CHOOSER_DIALOG_NEW */ - -/* Define to 1 if you have the `gtk_file_selection_new' function. */ -/* #undef HAVE_GTK_FILE_SELECTION_NEW */ - -/* Define to 1 if you have the `gtk_main' function. */ -/* #undef HAVE_GTK_MAIN */ - -/* Define to 1 if GTK can handle more than one display. */ -/* #undef HAVE_GTK_MULTIDISPLAY */ - -/* Define to 1 if netdb.h declares h_errno. */ -/* #undef HAVE_H_ERRNO */ - -/* Define to 1 if you have the `index' function. */ -/* #undef HAVE_INDEX */ - -/* Define to 1 if you have inet sockets. */ -/* #undef HAVE_INET_SOCKETS */ - -/* Define to 1 if you have the <inttypes.h> header file. */ -/* #undef HAVE_INTTYPES_H */ - -/* Define to 1 if you have the jpeg library (-ljpeg). */ -/* #undef HAVE_JPEG */ - -/* Define to 1 if you have the <kerberosIV/des.h> header file. */ -/* #undef HAVE_KERBEROSIV_DES_H */ - -/* Define to 1 if you have the <kerberosIV/krb.h> header file. */ -/* #undef HAVE_KERBEROSIV_KRB_H */ - -/* Define to 1 if you have the <kerberos/des.h> header file. */ -/* #undef HAVE_KERBEROS_DES_H */ - -/* Define to 1 if you have the <kerberos/krb.h> header file. */ -/* #undef HAVE_KERBEROS_KRB_H */ - -/* Define to 1 if you have the <krb5.h> header file. */ -/* #undef HAVE_KRB5_H */ - -/* Define to 1 if you have the <krb.h> header file. */ -/* #undef HAVE_KRB_H */ - -/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ -/* #undef HAVE_LANGINFO_CODESET */ - -/* Define to 1 if you have the `com_err' library (-lcom_err). */ -/* #undef HAVE_LIBCOM_ERR */ - -/* Define to 1 if you have the `crypto' library (-lcrypto). */ -/* #undef HAVE_LIBCRYPTO */ - -/* Define to 1 if you have the `des' library (-ldes). */ -/* #undef HAVE_LIBDES */ - -/* Define to 1 if you have the `des425' library (-ldes425). */ -/* #undef HAVE_LIBDES425 */ - -/* Define to 1 if you have the `dgc' library (-ldgc). */ -/* #undef HAVE_LIBDGC */ - -/* Define to 1 if you have the `dnet' library (-ldnet). */ -/* #undef HAVE_LIBDNET */ - -/* Define to 1 if you have the hesiod library (-lhesiod). */ -/* #undef HAVE_LIBHESIOD */ - -/* Define to 1 if you have the `intl' library (-lintl). */ -/* #undef HAVE_LIBINTL */ - -/* Define to 1 if you have the `k5crypto' library (-lk5crypto). */ -/* #undef HAVE_LIBK5CRYPTO */ - -/* Define to 1 if you have the `krb' library (-lkrb). */ -/* #undef HAVE_LIBKRB */ - -/* Define to 1 if you have the `krb4' library (-lkrb4). */ -/* #undef HAVE_LIBKRB4 */ - -/* Define to 1 if you have the `krb5' library (-lkrb5). */ -/* #undef HAVE_LIBKRB5 */ - -/* Define to 1 if you have the `kstat' library (-lkstat). */ -/* #undef HAVE_LIBKSTAT */ - -/* Define to 1 if you have the `lockfile' library (-llockfile). */ -/* #undef HAVE_LIBLOCKFILE */ - -/* Define to 1 if you have the `m' library (-lm). */ -/* #undef HAVE_LIBM */ - -/* Define to 1 if you have the `mail' library (-lmail). */ -/* #undef HAVE_LIBMAIL */ - -/* Define to 1 if you have the `ncurses' library (-lncurses). */ -/* #undef HAVE_LIBNCURSES */ - -/* Define to 1 if you have the <libpng/png.h> header file. */ -/* #undef HAVE_LIBPNG_PNG_H */ - -/* Define to 1 if you have the `pthreads' library (-lpthreads). */ -/* #undef HAVE_LIBPTHREADS */ - -/* Define to 1 if you have the resolv library (-lresolv). */ -/* #undef HAVE_LIBRESOLV */ - -/* Define to 1 if you have the `Xext' library (-lXext). */ -/* #undef HAVE_LIBXEXT */ - -/* Define to 1 if you have the `Xmu' library (-lXmu). */ -/* #undef HAVE_LIBXMU */ - -/* Define to 1 if you have the Xp library (-lXp). */ -/* #undef HAVE_LIBXP */ - -/* Define to 1 if you have the <limits.h> header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if you have the <linux/version.h> header file. */ -/* #undef HAVE_LINUX_VERSION_H */ - -/* Define to 1 if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define to 1 if you have the `logb' function. */ -#define HAVE_LOGB 1 - -/* Define to 1 if you support file names longer than 14 characters. */ -/* #undef HAVE_LONG_FILE_NAMES */ - -/* Define to 1 if you have the `lrand48' function. */ -/* #undef HAVE_LRAND48 */ - -/* Define to 1 if you have the <machine/soundcard.h> header file. */ -/* #undef HAVE_MACHINE_SOUNDCARD_H */ - -/* Define to 1 if you have the <mach/mach.h> header file. */ -/* #undef HAVE_MACH_MACH_H */ - -/* Define to 1 if you have the <maillock.h> header file. */ -/* #undef HAVE_MAILLOCK_H */ - -/* Define to 1 if you have the <malloc/malloc.h> header file. */ -/* #undef HAVE_MALLOC_MALLOC_H */ - -/* Define to 1 if you have the `mblen' function. */ -/* #undef HAVE_MBLEN */ - -/* Define to 1 if you have the `mbrlen' function. */ -/* #undef HAVE_MBRLEN */ - -/* Define to 1 if you have the `mbsinit' function. */ -/* #undef HAVE_MBSINIT */ - -/* Define to 1 if <wchar.h> declares mbstate_t. */ -/* #undef HAVE_MBSTATE_T */ - -/* Define to 1 if you have the `memcmp' function. */ -#define HAVE_MEMCMP 1 - -/* Define to 1 if you have the `memcpy' function. */ -#define HAVE_MEMCPY 1 - -/* Define to 1 if you have the `memmove' function. */ -#define HAVE_MEMMOVE 1 - -/* Define to 1 if you have the <memory.h> header file. */ -/* #undef HAVE_MEMORY_H */ - -/* Define to 1 if you have the `mempcpy' function. */ -/* #undef HAVE_MEMPCPY */ - -/* Define to 1 if you have the `memset' function. */ -#define HAVE_MEMSET 1 - -/* Define to 1 if you have mouse menus. (This is automatic if you use X, but - the option to specify it remains.) It is also defined with other window - systems that support xmenu.c. */ -#define HAVE_MENUS 1 - -/* Define to 1 if you have the `mkdir' function. */ -#define HAVE_MKDIR 1 - -/* Define to 1 if you have the `mkstemp' function. */ -/* #undef HAVE_MKSTEMP */ - -/* Define to 1 if you have the `mktime' function. */ -/* #undef HAVE_MKTIME */ - -/* Define to 1 if you have a working `mmap' system call. */ -/* #undef HAVE_MMAP */ - -/* Define to 1 if you have Motif 2.1 or newer. */ -/* #undef HAVE_MOTIF_2_1 */ - -/* Define to 1 if you have the `mremap' function. */ -/* #undef HAVE_MREMAP */ - -/* Define to 1 if you have the <net/if.h> header file. */ -/* #undef HAVE_NET_IF_H */ - -/* Define to 1 if you have the <nlist.h> header file. */ -/* #undef HAVE_NLIST_H */ - -/* Define to 1 if personality LINUX32 can be set. */ -/* #undef HAVE_PERSONALITY_LINUX32 */ - -/* Define to 1 if you have the png library (-lpng). */ -/* #undef HAVE_PNG */ - -/* Define to 1 if you have the <png.h> header file. */ -/* #undef HAVE_PNG_H */ - -/* Define to 1 if you have the `posix_memalign' function. */ -/* #undef HAVE_POSIX_MEMALIGN */ - -/* Define to 1 if you have the `pstat_getdynamic' function. */ -/* #undef HAVE_PSTAT_GETDYNAMIC */ - -/* Define to 1 if you have the <pthread.h> header file. */ -/* #undef HAVE_PTHREAD_H */ - -/* Define to 1 if you have the <pty.h> header file. */ -/* #undef HAVE_PTY_H */ - -/* Define to 1 if you have the <pwd.h> header file. */ -#define HAVE_PWD_H 1 - -/* Define to 1 if you have the `random' function. */ -/* #undef HAVE_RANDOM */ - -/* Define to 1 if you have the `recvfrom' function. */ -/* #undef HAVE_RECVFROM */ - -/* Define to 1 if you have the `rename' function. */ -#define HAVE_RENAME 1 - -/* Define to 1 if you have the `res_init' function. */ -/* #undef HAVE_RES_INIT */ - -/* Define to 1 if you have the `rindex' function. */ -/* #undef HAVE_RINDEX */ - -/* Define to 1 if you have the `rint' function. */ -#ifdef __MRC__ -#undef HAVE_RINT -#else /* CodeWarrior */ -#define HAVE_RINT -#endif - -/* Define to 1 if you have the `rmdir' function. */ -#define HAVE_RMDIR 1 - -/* Define to 1 if you have the `select' function. */ -#define HAVE_SELECT 1 - -/* Define to 1 if you have the `sendto' function. */ -/* #undef HAVE_SENDTO */ - -/* Define to 1 if you have the `setitimer' function. */ -#define HAVE_SETITIMER 1 - -/* Define to 1 if you have the `setlocale' function. */ -#define HAVE_SETLOCALE 1 - -/* Define to 1 if you have the `setpgid' function. */ -/* #undef HAVE_SETPGID */ - -/* Define to 1 if you have the `setrlimit' function. */ -/* #undef HAVE_SETRLIMIT */ - -/* Define to 1 if you have the `setsid' function. */ -/* #undef HAVE_SETSID */ - -/* Define to 1 if you have the `setsockopt' function. */ -/* #undef HAVE_SETSOCKOPT */ - -/* Define to 1 if you have the `shutdown' function. */ -/* #undef HAVE_SHUTDOWN */ - -/* Define to 1 if the system has the type `size_t'. */ -#define HAVE_SIZE_T 1 - -/* Define to 1 if you have the <soundcard.h> header file. */ -/* #undef HAVE_SOUNDCARD_H */ - -/* Define to 1 if `speed_t' is declared by <termios.h>. */ -/* #undef HAVE_SPEED_T */ - -/* Define to 1 if you have the <stdint.h> header file. */ -/* #undef HAVE_STDINT_H */ - -/* Define to 1 if you have the <stdio_ext.h> header file. */ -/* #undef HAVE_STDIO_EXT_H */ - -/* Define to 1 if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the `strerror' function. */ -#define HAVE_STRERROR 1 - -/* Define to 1 if you have the `strftime' function. */ -#ifndef __MRC__ /* CodeWarrior */ -#define HAVE_STRFTIME 1 -#endif - -/* Define to 1 if you have the <strings.h> header file. */ -/* #undef HAVE_STRINGS_H */ - -/* Define to 1 if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if you have the `strsignal' function. */ -/* #undef HAVE_STRSIGNAL */ - -/* Define to 1 if `ifr_addr' is member of `struct ifreq'. */ -/* #undef HAVE_STRUCT_IFREQ_IFR_ADDR */ - -/* Define to 1 if `ifr_broadaddr' is member of `struct ifreq'. */ -/* #undef HAVE_STRUCT_IFREQ_IFR_BROADADDR */ - -/* Define to 1 if `ifr_flags' is member of `struct ifreq'. */ -/* #undef HAVE_STRUCT_IFREQ_IFR_FLAGS */ - -/* Define to 1 if `ifr_hwaddr' is member of `struct ifreq'. */ -/* #undef HAVE_STRUCT_IFREQ_IFR_HWADDR */ - -/* Define to 1 if `ifr_netmask' is member of `struct ifreq'. */ -/* #undef HAVE_STRUCT_IFREQ_IFR_NETMASK */ - -/* Define to 1 if `n_un.n_name' is member of `struct nlist'. */ -/* #undef HAVE_STRUCT_NLIST_N_UN_N_NAME */ - -/* Define to 1 if `tm_zone' is member of `struct tm'. */ -/* #undef HAVE_STRUCT_TM_TM_ZONE */ - -/* Define to 1 if `struct utimbuf' is declared by <utime.h>. */ -#define HAVE_STRUCT_UTIMBUF 1 - -/* Define to 1 if you have the `sync' function. */ -/* #undef HAVE_SYNC */ - -/* Define to 1 if you have the `sysinfo' function. */ -/* #undef HAVE_SYSINFO */ - -/* Define to 1 if you have the <sys/ioctl.h> header file. */ -#define HAVE_SYS_IOCTL_H 1 - -/* Define to 1 if you have the <sys/mman.h> header file. */ -/* #undef HAVE_SYS_MMAN_H */ - -/* Define to 1 if you have the <sys/param.h> header file. */ -#define HAVE_SYS_PARAM_H 1 - -/* Define to 1 if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define to 1 if you have the <sys/select.h> header file. */ -/* #undef HAVE_SYS_SELECT_H */ - -/* Define to 1 if you have the <sys/socket.h> header file. */ -/* #undef HAVE_SYS_SOCKET_H */ - -/* Define to 1 if you have the <sys/soundcard.h> header file. */ -/* #undef HAVE_SYS_SOUNDCARD_H */ - -/* Define to 1 if you have the <sys/stat.h> header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the <sys/systeminfo.h> header file. */ -/* #undef HAVE_SYS_SYSTEMINFO_H */ - -/* Define to 1 if you have the <sys/timeb.h> header file. */ -/* #undef HAVE_SYS_TIMEB_H */ - -/* Define to 1 if you have the <sys/time.h> header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define to 1 if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if you have the <sys/un.h> header file. */ -/* #undef HAVE_SYS_UN_H */ - -/* Define to 1 if you have the <sys/utsname.h> header file. */ -/* #undef HAVE_SYS_UTSNAME_H */ - -/* Define to 1 if you have the <sys/vlimit.h> header file. */ -/* #undef HAVE_SYS_VLIMIT_H */ - -/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ -/* #undef HAVE_SYS_WAIT_H */ - -/* Define to 1 if you have the <sys/_mbstate_t.h> header file. */ -/* #undef HAVE_SYS__MBSTATE_T_H */ - -/* Define to 1 if you have the <termcap.h> header file. */ -/* #undef HAVE_TERMCAP_H */ - -/* Define to 1 if you have the <termios.h> header file. */ -/* #undef HAVE_TERMIOS_H */ - -/* Define to 1 if you have the <term.h> header file. */ -/* #undef HAVE_TERM_H */ - -/* Define to 1 if you have the tiff library (-ltiff). */ -/* #undef HAVE_TIFF */ - -/* Define to 1 if `struct timeval' is declared by <sys/time.h>. */ -#define HAVE_TIMEVAL 1 - -/* Define to 1 if `tm_gmtoff' is member of `struct tm'. */ -/* #undef HAVE_TM_GMTOFF */ - -/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use - `HAVE_STRUCT_TM_TM_ZONE' instead. */ -/* #undef HAVE_TM_ZONE */ - -/* Define to 1 if you have the `touchlock' function. */ -/* #undef HAVE_TOUCHLOCK */ - -/* Define to 1 if you don't have `tm_zone' but do have the external array - `tzname'. */ -/* #undef HAVE_TZNAME */ - -/* Define to 1 if you have the `tzset' function. */ -/* #undef HAVE_TZSET */ - -/* Define to 1 if you have the `ualarm' function. */ -/* #undef HAVE_UALARM */ - -/* Define to 1 if you have the <unistd.h> header file. */ -#ifdef __MRC__ -#undef HAVE_UNISTD_H -#else /* CodeWarrior */ -#define HAVE_UNISTD_H 1 -#endif - -/* Define to 1 if you have the `utimes' function. */ -/* #undef HAVE_UTIMES */ - -/* Define to 1 if you have the <utime.h> header file. */ -#define HAVE_UTIME_H 1 - -/* Define to 1 if you have the `vfork' function. */ -/* #undef HAVE_VFORK */ - -/* Define to 1 if you have the <vfork.h> header file. */ -/* #undef HAVE_VFORK_H */ - -/* Define to 1 if `fork' works. */ -/* #undef HAVE_WORKING_FORK */ - -/* Define to 1 if `vfork' works. */ -/* #undef HAVE_WORKING_VFORK */ - -/* Define to 1 if you want to use version 11 of X windows. Otherwise, Emacs - expects to use version 10. */ -/* #undef HAVE_X11 */ - -/* Define to 1 if you have the X11R6 or newer version of Xlib. */ -/* #undef HAVE_X11R6 */ - -/* Define to 1 if you have the X11R6 or newer version of Xt. */ -/* #undef HAVE_X11XTR6 */ - -/* Define to 1 if the file /usr/lib64 exists. */ -/* #undef HAVE_X86_64_LIB64_DIR */ - -/* Define to 1 if you have the Xaw3d library (-lXaw3d). */ -/* #undef HAVE_XAW3D */ - -/* Define to 1 if you're using XFree386. */ -/* #undef HAVE_XFREE386 */ - -/* Define to 1 if you have the Xft library. */ -/* #undef HAVE_XFT */ - -/* Define to 1 if XIM is available */ -/* #undef HAVE_XIM */ - -/* Define to 1 if you have the XkbGetKeyboard function. */ -/* #undef HAVE_XKBGETKEYBOARD */ - -/* Define to 1 if you have the Xpm libary (-lXpm). */ -/* #undef HAVE_XPM */ - -/* Define to 1 if you have the `XrmSetDatabase' function. */ -/* #undef HAVE_XRMSETDATABASE */ - -/* Define to 1 if you have the `XScreenNumberOfScreen' function. */ -/* #undef HAVE_XSCREENNUMBEROFSCREEN */ - -/* Define to 1 if you have the `XScreenResourceString' function. */ -/* #undef HAVE_XSCREENRESOURCESTRING */ - -/* Define to 1 if you have the `XSetWMProtocols' function. */ -/* #undef HAVE_XSETWMPROTOCOLS */ - -/* Define to 1 if you have the SM library (-lSM). */ -/* #undef HAVE_X_SM */ - -/* Define to 1 if you want to use the X window system. */ -/* #undef HAVE_X_WINDOWS */ - -/* Define to 1 if you have the `__fpending' function. */ -/* #undef HAVE___FPENDING */ - -/* Define to support using a Hesiod database to find the POP server. */ -/* #undef HESIOD */ - -/* Define to support Kerberos-authenticated POP mail retrieval. */ -/* #undef KERBEROS */ - -/* Define to use Kerberos 5 instead of Kerberos 4. */ -/* #undef KERBEROS5 */ - -/* Define LD_SWITCH_X_SITE to contain any special flags your loader may need - to deal with X Windows. For instance, if you've defined HAVE_X_WINDOWS - above and your X libraries aren't in a place that your loader can find on - its own, you might want to add "-L/..." or something similar. */ -/* #undef LD_SWITCH_X_SITE */ - -/* Define LD_SWITCH_X_SITE_AUX with an -R option in case it's needed (for - Solaris, for example). */ -/* #undef LD_SWITCH_X_SITE_AUX */ - -/* Define to 1 if localtime caches TZ. */ -/* #undef LOCALTIME_CACHE */ - -/* Define to support POP mail retrieval. */ -/* #undef MAIL_USE_POP 1 */ - -/* Define to 1 if your `struct nlist' has an `n_un' member. Obsolete, depend - on `HAVE_STRUCT_NLIST_N_UN_N_NAME */ -/* #undef NLIST_NAME_UNION */ - -/* Define to 1 if you don't have struct exception in math.h. */ -/* #undef NO_MATHERR */ - -/* Define to the address where bug reports for this package should be sent. */ -/* #undef PACKAGE_BUGREPORT */ - -/* Define to the full name of this package. */ -/* #undef PACKAGE_NAME */ - -/* Define to the full name and version of this package. */ -/* #undef PACKAGE_STRING */ - -/* Define to the one symbol short name of this package. */ -/* #undef PACKAGE_TARNAME */ - -/* Define to the version of this package. */ -/* #undef PACKAGE_VERSION */ - -/* Define as `void' if your compiler accepts `void *'; otherwise define as - `char'. */ -#define POINTER_TYPE void - -/* Define to 1 if the C compiler supports function prototypes. */ -/* #undef PROTOTYPES */ - -/* Define REL_ALLOC if you want to use the relocating allocator for buffer - space. */ -/* #undef REL_ALLOC */ - -/* Define as the return type of signal handlers (`int' or `void'). */ -#define RETSIGTYPE void - -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at runtime. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown */ -/* #undef STACK_DIRECTION */ - -/* Define to 1 if you have the ANSI C header files. */ -/* #undef STDC_HEADERS */ - -/* Define to 1 on System V Release 4. */ -/* #undef SVR4 */ - -/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ -#define TIME_WITH_SYS_TIME 1 - -/* Define to 1 if your <sys/time.h> declares `struct tm'. */ -/* #undef TM_IN_SYS_TIME */ - -/* Define to 1 for Encore UMAX. */ -/* #undef UMAX */ - -/* Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h> instead of - <sys/cpustats.h>. */ -/* #undef UMAX4_3 */ - -/* Define to the unexec source file name. */ -/* #undef UNEXEC_SRC */ - -/* Define to 1 if we should use toolkit scroll bars. */ -#ifdef HAVE_CARBON -#define USE_TOOLKIT_SCROLL_BARS 1 -#endif - -/* Define to 1 if we should use XIM, if it is available. */ -/* #undef USE_XIM */ - -/* Define to 1 if using an X toolkit. */ -/* #undef USE_X_TOOLKIT */ - -/* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either - XPointer or XPointer*. */ -/* #undef XRegisterIMInstantiateCallback_arg6 */ - -/* Define to 1 if on AIX 3. - System headers sometimes define this. - We just want to avoid a redefinition error message. */ -#ifndef _ALL_SOURCE -/* #undef _ALL_SOURCE */ -#endif - -/* Number of bits in a file offset, on hosts where this is settable. */ -/* #undef _FILE_OFFSET_BITS */ - -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -/* # undef _GNU_SOURCE */ -#endif - -/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ -/* #undef _LARGEFILE_SOURCE */ - -/* Define for large files, on AIX-style hosts. */ -/* #undef _LARGE_FILES */ - -/* Define to rpl_ if the getopt replacement functions and variables should be - used. */ -/* #undef __GETOPT_PREFIX */ - -/* Define like PROTOTYPES; this can be used by system headers. */ -/* #undef __PROTOTYPES */ - -/* Define to compiler's equivalent of C99 restrict keyword. Don't define if - equivalent is `__restrict'. */ -/* #undef __restrict */ - -/* Define to compiler's equivalent of C99 restrict keyword in array - declarations. Define as empty for no equivalent. */ -/* #undef __restrict_arr */ - -/* Define to the used machine dependent file. */ -#define config_machfile "m-mac.h" - -/* Define to the used os dependent file. */ -#define config_opsysfile "s-mac.h" - -/* Define to empty if `const' does not conform to ANSI C. */ -/* #undef const */ - -/* Define to a type if <wchar.h> does not define. */ -/* #undef mbstate_t */ - -/* Define to `int' if <sys/types.h> does not define. */ -#define pid_t int - -/* Define to any substitute for sys_siglist. */ -/* #undef sys_siglist */ - -/* Define as `fork' if `vfork' does not work. */ -/* #undef vfork */ - -/* Define to empty if the keyword `volatile' does not work. Warning: valid - code using `volatile' can become incorrect without. Disable with care. */ -/* #undef volatile */ - - -/* If we're using any sort of window system, define some consequences. */ -#ifdef HAVE_X_WINDOWS -#define HAVE_WINDOW_SYSTEM -#define MULTI_KBOARD -#define HAVE_MOUSE -#endif - -/* Define for MacOS */ -#define HAVE_WINDOW_SYSTEM 1 -#define HAVE_MOUSE 1 - -/* Define USER_FULL_NAME to return a string - that is the user's full name. - It can assume that the variable `pw' - points to the password file entry for this user. - - At some sites, the pw_gecos field contains - the user's full name. If neither this nor any other - field contains the right thing, use pw_name, - giving the user's login name, since that is better than nothing. */ -#define USER_FULL_NAME pw->pw_name - -/* Define AMPERSAND_FULL_NAME if you use the convention - that & in the full name stands for the login id. */ -/* Turned on June 1996 supposing nobody will mind it. */ -/* #undef AMPERSAND_FULL_NAME */ - -/* We have blockinput.h. */ -#define DO_BLOCK_INPUT - -/* Define HAVE_SOUND if we have sound support. We know it works - and compiles only on the specified platforms. For others, - it probably doesn't make sense to try. */ - -#if defined __FreeBSD__ || defined __NetBSD__ || defined __linux__ -#ifdef HAVE_MACHINE_SOUNDCARD_H -#define HAVE_SOUND 1 -#endif -#ifdef HAVE_SYS_SOUNDCARD_H -#define HAVE_SOUND 1 -#endif -#ifdef HAVE_SOUNDCARD_H -#define HAVE_SOUND 1 -#endif -#ifdef HAVE_ALSA -#define HAVE_SOUND 1 -#endif -#endif /* __FreeBSD__ || __NetBSD__ || __linux__ */ - -/* If using GNU, then support inline function declarations. */ -/* Don't try to switch on inline handling as detected by AC_C_INLINE - generally, because even if non-gcc compilers accept `inline', they - may reject `extern inline'. */ -#if defined (__GNUC__) && defined (OPTIMIZE) -#define INLINE __inline__ -#else -#define INLINE -#endif - -#ifdef __MRC__ -/* Use low-bits for tags. If ENABLE_CHECKING is turned on together - with USE_LSB_TAG, optimization flags should be explicitly turned - off. */ -#define USE_LSB_TAG -#endif - -/* Include the os and machine dependent files. */ -#include config_opsysfile -#include config_machfile - -/* Load in the conversion definitions if this system - needs them and the source file being compiled has not - said to inhibit this. There should be no need for you - to alter these lines. */ - -#ifdef SHORTNAMES -#ifndef NO_SHORTNAMES -#include "../shortnames/remap.h" -#endif /* not NO_SHORTNAMES */ -#endif /* SHORTNAMES */ - -/* If no remapping takes place, static variables cannot be dumped as - pure, so don't worry about the `static' keyword. */ -#ifdef NO_REMAP -/* #undef static */ -#endif - -/* Define `subprocesses' should be defined if you want to - have code for asynchronous subprocesses - (as used in M-x compile and M-x shell). - These do not work for some USG systems yet; - for the ones where they work, the s/SYSTEM.h file defines this flag. */ - -#ifndef VMS -#ifndef USG -/* #define subprocesses */ -#endif -#endif - -/* SIGTYPE is the macro we actually use. */ -#ifndef SIGTYPE -#define SIGTYPE RETSIGTYPE -#endif - -#ifdef emacs /* Don't do this for lib-src. */ -/* Tell regex.c to use a type compatible with Emacs. */ -#define RE_TRANSLATE_TYPE Lisp_Object -#define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C) -#ifdef make_number -/* If make_number is a macro, use it. */ -#define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0))) -#else -/* If make_number is a function, avoid it. */ -#define RE_TRANSLATE_P(TBL) (!(INTEGERP (TBL) && XINT (TBL) == 0)) -#endif -#endif - -/* Avoid link-time collision with system mktime if we will use our own. */ -#if ! HAVE_MKTIME || BROKEN_MKTIME -#define mktime emacs_mktime -#endif - -#define my_strftime nstrftime /* for strftime.c */ - -/* The rest of the code currently tests the CPP symbol BSTRING. - Override any claims made by the system-description files. - Note that on some SCO version it is possible to have bcopy and not bcmp. */ -/* #undef BSTRING */ -#if defined (HAVE_BCOPY) && defined (HAVE_BCMP) -#define BSTRING -#endif - -/* Some of the files of Emacs which are intended for use with other - programs assume that if you have a config.h file, you must declare - the type of getenv. - - This declaration shouldn't appear when alloca.s or Makefile.in - includes config.h. */ -#ifndef NOT_C_CODE -extern char *getenv (); -#endif - -/* These default definitions are good for almost all machines. - The exceptions override them in m/MACHINE.h. */ - -#ifndef BITS_PER_CHAR -#define BITS_PER_CHAR 8 -#endif - -#ifndef BITS_PER_SHORT -#define BITS_PER_SHORT 16 -#endif - -/* Note that lisp.h uses this in a preprocessor conditional, so it - would not work to use sizeof. That being so, we do all of them - without sizeof, for uniformity's sake. */ -#ifndef BITS_PER_INT -#define BITS_PER_INT 32 -#endif - -#ifndef BITS_PER_LONG -#ifdef _LP64 -#define BITS_PER_LONG 64 -#else -#define BITS_PER_LONG 32 -#endif -#endif - -/* Define if the compiler supports function prototypes. It may do so - but not define __STDC__ (e.g. DEC C by default) or may define it as - zero. */ -/* #undef PROTOTYPES */ -/* For mktime.c: */ -#ifndef __P -# if defined PROTOTYPES -# define __P(args) args -# else -# define __P(args) () -# endif /* GCC. */ -#endif /* __P */ - -/* Don't include "string.h" or <stdlib.h> in non-C code. */ -#ifndef NOT_C_CODE -#ifdef HAVE_STRING_H -#include "string.h" -#endif -#ifdef HAVE_STRINGS_H -#include "strings.h" /* May be needed for bcopy & al. */ -#endif -#ifdef HAVE_STDLIB_H -#include <stdlib.h> -#endif -#ifndef __GNUC__ -# ifdef HAVE_ALLOCA_H -# include <alloca.h> -# else /* AIX files deal with #pragma. */ -# ifndef alloca /* predefined by HP cc +Olibcalls */ -char *alloca (); -# endif -# endif /* HAVE_ALLOCA_H */ -#endif /* __GNUC__ */ -#ifndef HAVE_SIZE_T -typedef unsigned size_t; -#endif -#endif /* NOT_C_CODE */ - -/* Define HAVE_X_I18N if we have usable i18n support. */ - -#ifdef HAVE_X11R6 -#define HAVE_X_I18N -#elif !defined X11R5_INHIBIT_I18N -#define HAVE_X_I18N -#endif - -/* Define HAVE_X11R6_XIM if we have usable X11R6-style XIM support. */ - -#if defined HAVE_X11R6 && !defined INHIBIT_X11R6_XIM -#define HAVE_X11R6_XIM -#endif - -/* Should we enable expensive run-time checking of data types? */ -/* #undef ENABLE_CHECKING */ - -#if defined __GNUC__ && (__GNUC__ > 2 \ - || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5)) -#define NO_RETURN __attribute__ ((__noreturn__)) -#else -#define NO_RETURN /* nothing */ -#endif - -/* These won't be used automatically yet. We also need to know, at least, - that the stack is continuous. */ -#ifdef __GNUC__ -# ifndef GC_SETJMP_WORKS - /* GC_SETJMP_WORKS is nearly always appropriate for GCC -- - see NON_SAVING_SETJMP in the target descriptions. */ - /* Exceptions (see NON_SAVING_SETJMP in target description) are ns32k, - SCO5 non-ELF (but Emacs specifies ELF) and SVR3 on x86. - Fixme: Deal with ns32k, SVR3. */ -# define GC_SETJMP_WORKS 1 -# endif -# ifndef GC_LISP_OBJECT_ALIGNMENT -# define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object)) -# endif -#endif - -#ifndef HAVE_BCOPY -#define bcopy(a,b,s) memcpy (b,a,s) -#endif -#ifndef HAVE_BZERO -#define bzero(a,s) memset (a,0,s) -#endif -#ifndef HAVE_BCMP -#define BCMP memcmp -#endif - -#define SYNC_INPUT - -#endif /* EMACS_CONFIG_H */ - -/* arch-tag: 2596b649-b569-448e-8880-373d2a9909b7 - (do not change this comment) */ diff --git a/mac/inc/defs-cw6.h b/mac/inc/defs-cw6.h deleted file mode 100644 index ebd2cbb0c99..00000000000 --- a/mac/inc/defs-cw6.h +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright (C) 2001, 2002, 2003, 2004, 2005, - 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by the -Free Software Foundation; either version 3, or (at your option) any -later version. - -GNU Emacs is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to the Free -Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -#define emacs 1 -#define HAVE_CONFIG_H - -#define MAC_OS8 1 -#define MAC_OS 1 - -/* arch-tag: 4aa4fcea-3a95-433d-a7d6-b029afca17f1 - (do not change this comment) */ diff --git a/mac/inc/dirent.h b/mac/inc/dirent.h deleted file mode 100644 index 06308fafddf..00000000000 --- a/mac/inc/dirent.h +++ /dev/null @@ -1,52 +0,0 @@ -/* Replacement dirent.h file for building GNU Emacs on the Macintosh. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -#ifndef _DIRENT_H -#define _DIRENT_H - -/* for definition of FSSpec */ -#include <Files.h> - -/* for definition of ino_t */ -#include <sys/types.h> - -struct dirent { - ino_t d_ino; - char *d_name; -}; - -typedef struct DIR { - long dir_id; - short vol_ref_num; - long current_index; - int getting_volumes; /* true if this DIR struct refers to the root directory */ -} DIR; - -extern DIR *opendir(const char *); -extern int closedir(DIR *); -extern struct dirent *readdir(DIR *); - -#endif /* _DIRENT_H */ - -/* arch-tag: ec3116df-70f9-4a4a-b6d0-1858aaa9ea22 - (do not change this comment) */ diff --git a/mac/inc/epaths.h b/mac/inc/epaths.h deleted file mode 100644 index 90d3b0143e2..00000000000 --- a/mac/inc/epaths.h +++ /dev/null @@ -1,68 +0,0 @@ -/* Hey Emacs, this is -*- C -*- code! */ - -/* Handcrafted epaths.h file for building GNU Emacs on the Macintosh. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -/* The default search path for Lisp function "load". - This sets load-path. */ -#define PATH_LOADSEARCH "~emacs/lisp:~emacs/leim:~emacs/lisp/calendar:~emacs/lisp/emacs-lisp:~emacs/lisp/emulation:~emacs/lisp/progmodes:~emacs/lisp/textmodes:~emacs/lisp/international:~emacs/lisp/language:~emacs/lisp/play" - -/* Like PATH_LOADSEARCH, but used only when Emacs is dumping. This - path is usually identical to PATH_LOADSEARCH except that the entry - for the directory containing the installed lisp files has been - replaced with ../lisp. */ -#define PATH_DUMPLOADSEARCH "~emacs/lisp" - -/* The extra search path for programs to invoke. This is appended to - whatever the PATH environment variable says to set the Lisp - variable exec-path and the first file name in it sets the Lisp - variable exec-directory. exec-directory is used for finding - executables and other architecture-dependent files. */ -#define PATH_EXEC "~emacs/mac" - -/* Where Emacs should look for its architecture-independent data - files, like the NEWS file. The lisp variable data-directory - is set to this value. */ -#define PATH_DATA "~emacs/data" - -/* Where Emacs should look for X bitmap files. - The lisp variable x-bitmap-file-path is set based on this value. */ -#define PATH_BITMAPS "" - -/* Where Emacs should look for its docstring file. The lisp variable - doc-directory is set to this value. */ -#define PATH_DOC "../etc" - -/* Where the configuration process believes the info tree lives. The - lisp variable configure-info-directory gets its value from this - macro, and is then used to set the Info-default-directory-list. */ -#define PATH_INFO "~emacs/info" - -/* Where Emacs should store game score files. */ -#define PATH_GAME "~emacs/games" - -/* Where Emacs should look for the application default file. */ -/* #define PATH_X_DEFAULTS "/usr/lib/X11/%L/%T/%N%C%S:/usr/lib/X11/%l/%T/%N%C%S:/usr/lib/X11/%T/%N%C%S:/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S" */ - -/* arch-tag: 32e95134-dfe4-47be-be28-e8cbf78505b6 - (do not change this comment) */ diff --git a/mac/inc/grp.h b/mac/inc/grp.h deleted file mode 100755 index 66e29450c17..00000000000 --- a/mac/inc/grp.h +++ /dev/null @@ -1,37 +0,0 @@ -/* Replacement grp.h file for building GNU Emacs on the Macintosh. - Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 - Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -#ifndef _GRP_H -#define _GRP_H - -#include <sys/types.h> - -/* Emacs uses only gr_name */ -struct group { - char *gr_name; /* group name */ -}; - -struct group *getgrgid(gid_t); - -#endif /* _GRP_H */ - -/* arch-tag: 3b1d3315-05d5-4c7a-8404-3754bb40020c - (do not change this comment) */ diff --git a/mac/inc/m-mac.h b/mac/inc/m-mac.h deleted file mode 100644 index 701711a6be2..00000000000 --- a/mac/inc/m-mac.h +++ /dev/null @@ -1,121 +0,0 @@ -/* Handcrafted m-mac.h file for building GNU Emacs on the Macintosh. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -/* The following line tells the configuration script what sort of - operating system this machine is likely to run. - USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */ - -/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word - is the most significant byte. */ - -#define WORDS_BIG_ENDIAN - -/* Define NO_ARG_ARRAY if you cannot take the address of the first of a - * group of arguments and treat it as an array of the arguments. */ - -#define NO_ARG_ARRAY - -/* Define WORD_MACHINE if addresses and such have - * to be corrected before they can be used as byte counts. */ - -/* #define WORD_MACHINE */ - -/* Now define a symbol for the cpu type, if your compiler - does not define it automatically: - Ones defined so far include vax, m68000, ns16000, pyramid, - orion, tahoe, APOLLO and many others */ - -/* Use type int rather than a union, to represent Lisp_Object */ -/* This is desirable for most machines. */ - -#define NO_UNION_TYPE - -/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend - the 24-bit bit field into an int. In other words, if bit fields - are always unsigned. - - If you use NO_UNION_TYPE, this flag does not matter. */ - -#define EXPLICIT_SIGN_EXTEND - -/* Data type of load average, as read out of kmem. */ - -/* #define LOAD_AVE_TYPE long */ - -/* Convert that into an integer that is 100 for a load average of 1.0 */ - -/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ - -/* Define CANNOT_DUMP on machines where unexec does not work. - Then the function dump-emacs will not be defined - and temacs will do (load "loadup") automatically unless told otherwise. */ - -#define CANNOT_DUMP - -/* Define VIRT_ADDR_VARIES if the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. - - Otherwise Emacs assumes that text space precedes data space, - numerically. */ - -#define VIRT_ADDR_VARIES - -/* Define NO_REMAP if memory segmentation makes it not work well - to change the boundary between the text section and data section - when Emacs is dumped. If you define this, the preloaded Lisp - code will not be sharable; but that's better than failing completely. */ - -/* #define NO_REMAP */ - -/* Some really obscure 4.2-based systems (like Sequent DYNIX) - * do not support asynchronous I/O (using SIGIO) on sockets, - * even though it works fine on tty's. If you have one of - * these systems, define the following, and then use it in - * config.h (or elsewhere) to decide when (not) to use SIGIO. - * - * You'd think this would go in an operating-system description file, - * but since it only occurs on some, but not all, BSD systems, the - * reasonable place to select for it is in the machine description - * file. - */ - -#define NO_SOCK_SIGIO - - -/* After adding support for a new system, modify the large case - statement in the `configure' script to recognize reasonable - configuration names, and add a description of the system to - `etc/MACHINES'. - - If you've just fixed a problem in an existing configuration file, - you should also check `etc/MACHINES' to make sure its descriptions - of known problems in that configuration should be updated. */ - -/* MPW build crashes if this is not defined. */ -#ifdef __MRC__ -#define IEEE_FLOATING_POINT 1 -#endif - -/* arch-tag: 9e759031-ab7b-4c76-99d7-3ae94a98de38 - (do not change this comment) */ diff --git a/mac/inc/pwd.h b/mac/inc/pwd.h deleted file mode 100644 index 4402a7195a4..00000000000 --- a/mac/inc/pwd.h +++ /dev/null @@ -1,41 +0,0 @@ -/* Replacement pwd.h file for building GNU Emacs on the Macintosh. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -#ifndef _PWD_H -#define _PWD_H - -#include <sys/types.h> - -/* Emacs uses only pw_name and pw_dir: let's just simulate these */ -struct passwd { - char *pw_name; /* user name */ - char *pw_dir; /* home directory */ -}; - -struct passwd *getpwuid(uid_t); -struct passwd *getpwnam(const char *); - -#endif /* _PWD_H */ - -/* arch-tag: e169cad7-12ca-4660-a35e-36f80d5d345f - (do not change this comment) */ diff --git a/mac/inc/s-mac.h b/mac/inc/s-mac.h deleted file mode 100644 index 6d9b1ddb016..00000000000 --- a/mac/inc/s-mac.h +++ /dev/null @@ -1,317 +0,0 @@ -/* Handcrafted s-mac.h file for building GNU Emacs on Mac OS 9. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -/* - * Define symbols to identify the version of Unix this is. - * Define all the symbols that apply correctly. - */ - -/* #define UNIPLUS */ -/* #define USG5 */ -/* #define USG */ -/* #define HPUX */ -/* #define UMAX */ -/* #define BSD4_1 */ -/* #define BSD4_2 */ -/* #define BSD4_3 */ -/* #define BSD_SYSTEM */ -/* #define VMS */ - -/* SYSTEM_TYPE should indicate the kind of system you are using. - It sets the Lisp variable system-type. */ - -#define SYSTEM_TYPE "macos" - -/* NOMULTIPLEJOBS should be defined if your system's shell - does not have "job control" (the ability to stop a program, - run some other program, then continue the first one). */ - -#define NOMULTIPLEJOBS - -/* Emacs can read input using SIGIO and buffering characters itself, - or using CBREAK mode and making C-g cause SIGINT. - The choice is controlled by the variable interrupt_input. - - Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) - - Emacs uses the presence or absence of the SIGIO and BROKEN_SIGIO macros - to indicate whether or not signal-driven I/O is possible. It uses - INTERRUPT_INPUT to decide whether to use it by default. - - SIGIO can be used only on systems that implement it (4.2 and 4.3). - CBREAK mode has two disadvantages - 1) At least in 4.2, it is impossible to handle the Meta key properly. - I hear that in system V this problem does not exist. - 2) Control-G causes output to be discarded. - I do not know whether this can be fixed in system V. - - Another method of doing input is planned but not implemented. - It would have Emacs fork off a separate process - to read the input and send it to the true Emacs process - through a pipe. */ - -/* #define INTERRUPT_INPUT */ - -/* Letter to use in finding device name of first pty, - if system supports pty's. 'a' means it is /dev/ptya0 */ - -/* #define FIRST_PTY_LETTER 'a' */ - -/* - * Define HAVE_TERMIOS if the system provides POSIX-style - * functions and macros for terminal control. - * - * Define HAVE_TERMIO if the system provides sysV-style ioctls - * for terminal control. - * - * Do not define both. HAVE_TERMIOS is preferred, if it is - * supported on your system. - */ - -/* #define HAVE_TERMIOS */ -#define HAVE_TERMIO - -/* - * Define HAVE_PTYS if the system supports pty devices. - */ - -/* #define HAVE_PTYS */ - -/* - * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate - * The 4.2 opendir, etc., library functions. - */ - -/* #define NONSYSTEM_DIR_LIBRARY */ - -/* Define this symbol if your system has the functions bcopy, etc. */ - -/* #define BSTRING */ - -/* subprocesses should be defined if you want to - have code for asynchronous subprocesses - (as used in M-x compile and M-x shell). - This is generally OS dependent, and not supported - under most USG systems. */ - -/* #define subprocesses */ - -/* If your system uses COFF (Common Object File Format) then define the - preprocessor symbol "COFF". */ - -/* #define COFF */ - -/* define MAIL_USE_FLOCK if the mailer uses flock - to interlock access to /usr/spool/mail/$USER. - The alternative is that a lock file named - /usr/spool/mail/$USER.lock. */ - -/* #define MAIL_USE_FLOCK */ - -/* Define CLASH_DETECTION if you want lock files to be written - so that Emacs can tell instantly when you try to modify - a file that someone else has modified in his Emacs. */ - -/* #define CLASH_DETECTION */ - -/* Define this if your operating system declares signal handlers to - have a type other than the usual. `The usual' is `void' for ANSI C - systems (i.e. when the __STDC__ macro is defined), and `int' for - pre-ANSI systems. If you're using GCC on an older system, __STDC__ - will be defined, but the system's include files will still say that - signal returns int or whatever; in situations like that, define - this to be what the system's include files want. */ -/* #define SIGTYPE int */ - -/* If the character used to separate elements of the executable path - is not ':', #define this to be the appropriate character constant. */ -/* #define SEPCHAR ':' */ - -/* Define this if the system can use mmap for buffer text allocation. */ -/* #define USE_MMAP_FOR_BUFFERS 1 */ - -/* ============================================================ */ - -/* Here, add any special hacks needed - to make Emacs work on this system. For example, - you might define certain system call names that don't - exist on your system, or that do different things on - your system and must be used only through an encapsulation - (Which you should place, by convention, in sysdep.c). */ - -/* Some compilers tend to put everything declared static - into the initialized data area, which becomes pure after dumping Emacs. - On these systems, you must #define static as nothing to foil this. - Note that emacs carefully avoids static vars inside functions. */ - -/* #define static */ - -/* If the system's imake configuration file defines `NeedWidePrototypes' - as `NO', we must define NARROWPROTO manually. Such a define is - generated in the Makefile generated by `xmkmf'. If we don't - define NARROWPROTO, we will see the wrong function prototypes - for X functions taking float or double parameters. */ - -/* #define NARROWPROTO 1 */ - -/* ============================================================ */ - -/* After adding support for a new system, modify the large case - statement in the `configure' script to recognize reasonable - configuration names, and add a description of the system to - `etc/MACHINES'. - - If you've just fixed a problem in an existing configuration file, - you should also check `etc/MACHINES' to make sure its descriptions - of known problems in that configuration should be updated. */ - -#ifdef __MRC__ -/* MrC predefines signal numbers as powers of 2. */ -#define sigmask(no) (((no) & (no) - 1) ? 1L << ((no) - 1) : (no)) -#define __signal_max 8 /* There's enough room for the following - signals between 8 and 16, and the - maximum predefined one (32) is less - than 8th power of 2. */ -#endif - -#define SIGHUP (__signal_max+1) -#define SIGQUIT (__signal_max+2) -#define SIGTRAP (__signal_max+3) -#define SIGKILL (__signal_max+4) -#define SIGALRM (__signal_max+5) -#define SIGPIPE (__signal_max+6) - -#ifdef __MRC__ -#define NSIG SIGTERM /* largest one in signal.h */ -#else -#define NSIG (__signal_max+6) -#endif - -#ifdef __MRC__ -#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_ptr - (FILE)->_base) -#elif __MWERKS__ -#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->buffer_ptr - (FILE)->buffer) -#endif - -#ifdef __MWERKS__ -#include <errno.h> -#ifndef ENOENT -#define ENOENT 100 -#endif -#ifndef EXDEV -#define EXDEV 101 -#endif -#ifndef EEXIST -#define EEXIST 102 -#endif -#ifndef EINTR -#define EINTR 102 -#endif -#ifndef EACCES -#define EACCES 103 -#endif -#ifndef ENOTDIR -#define ENOTDIR 104 -#endif -#ifndef EIO -#define EIO 105 -#endif -#ifndef EBADF -#define EBADF 106 -#endif -#endif - -#define SYSTEM_PURESIZE_EXTRA (200*1024) - -/* don't know what this will do, but sysdep.c needs it */ -#define DATA_START 0 - -/* Limited by CW's 32K limit on local data! */ -#define READ_BUF_SIZE (8 << 10) - -#include <utsname.h> - -#define SYSV_SYSTEM_DIR - -#define SYSTEM_MALLOC - -#define _setjmp setjmp -#define _longjmp longjmp - -#define _exit exit - -#define main emacs_main - -/* Include this here so it won't be include again when #include in emacs - sources. Then undefine the macro definitions in it for unlink, read, - write, access, and rmdir. */ -#ifdef __MWERKS__ -#include <unistd.h> -#endif - -#ifndef X_OK -#define X_OK 01 -#endif - -#undef unlink -#define unlink sys_unlink -#undef read -#define read sys_read -#undef write -#define write sys_write -#undef access -#define access sys_access -#undef rmdir -#define rmdir sys_rmdir - -#define open sys_open -#define creat sys_creat - -#define rename sys_rename -#define fopen sys_fopen -#define signal sys_signal - -#define gmtime sys_gmtime -#define localtime sys_localtime -#define ctime sys_ctime -#define time sys_time - -#define index strchr -#define rindex strrchr - -#define PTR POINTER_TYPE * /* For strftime.c. */ - -#define SYMS_SYSTEM syms_of_mac() - -#ifdef USE_LSB_TAG -#ifdef __MRC__ -#define DECL_ALIGN(type, var) type var -#endif -#endif - -/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the - stack. */ -#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS - -/* arch-tag: 6a941c4b-a419-4d25-80ac-9335053e58b2 - (do not change this comment) */ diff --git a/mac/inc/sys/file.h b/mac/inc/sys/file.h deleted file mode 100644 index c99a293a022..00000000000 --- a/mac/inc/sys/file.h +++ /dev/null @@ -1,63 +0,0 @@ -/* Replacement sys/file.h file for building GNU Emacs on the Macintosh. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -#ifndef _SYS_FILE_H -#define _SYS_FILE_H - -#include <Files.h> -#include <sys/types.h> -#include <sys/stat.h> - -#ifdef __MRC__ -#undef open -#undef creat - -#define open mpw_open -#define creat mpw_creat - -#include <fcntl.h> - -#undef open -#undef creat - -#define open sys_open -#define creat sys_creat -#endif - -#ifdef __MWERKS__ -#include <unix.h> -#endif - -mode_t umask(mode_t); - -void abort(void); -void _exit(int); -int kill(int,int); -int alarm(int); -int pause(void); -char *getwd(char *); - -#endif /* _SYS_FILE_H */ - -/* arch-tag: c3a653d5-f228-4d62-a47c-0398015195de - (do not change this comment) */ diff --git a/mac/inc/sys/ioctl.h b/mac/inc/sys/ioctl.h deleted file mode 100644 index 279c8a34e9e..00000000000 --- a/mac/inc/sys/ioctl.h +++ /dev/null @@ -1,35 +0,0 @@ -/* Replacement sys/ioctl.h file for building GNU Emacs on the Macintosh. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -#ifndef _SYS_IOCTL_H -#define _SYS_IOCTL_H - -int ioctl(int, int, void *); - -#define FIONREAD 1 -#define TCGETA 2 - -#endif /* _SYS_IOCTL_H */ - -/* arch-tag: fa0c3dda-dbe0-4a49-86c4-7516c83c3c8c - (do not change this comment) */ diff --git a/mac/inc/sys/param.h b/mac/inc/sys/param.h deleted file mode 100644 index 71df1e61d20..00000000000 --- a/mac/inc/sys/param.h +++ /dev/null @@ -1,32 +0,0 @@ -/* Replacement sys/param.h file for building GNU Emacs on the Macintosh. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -#ifndef _SYS_PARAM_H -#define _SYS_PARAM_H - -#define MAXPATHLEN 255 - -#endif /* _SYS_PARAM_H */ - -/* arch-tag: dceae288-b9cf-4a8f-a780-bca2cadf0c47 - (do not change this comment) */ diff --git a/mac/inc/sys/stat.h b/mac/inc/sys/stat.h deleted file mode 100644 index 12ccfc66d99..00000000000 --- a/mac/inc/sys/stat.h +++ /dev/null @@ -1,90 +0,0 @@ -/* Replacement sys/stat.h file for building GNU Emacs on the Macintosh. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -#ifndef _SYS_STAT_H -#define _SYS_STAT_H - -#ifdef __MWERKS__ -#include <stat.mac.h> - -#if __MSL__ >= 0x6000 -#define fstat _fstat -#endif - -#undef S_IFMT -#undef S_IFBLK -#undef S_IFCHR -#undef S_IFIFO -#undef S_IFREG -#undef S_IFDIR -#undef S_IFLNK - -#undef S_IRUSR -#undef S_IWUSR -#undef S_IXUSR - -#endif /* __MWERKS__ */ - -/* Need to redefine these for CW, filemode.c assumes Unix definitions which are - inconsistent with CW definitions because CW uses bits 8-12 for S_IFMT info. - Bit 8 is used by S_IRUSR on Unix! */ -#define S_IFMT 0170000 /* type of file */ -#define S_IFBLK 0060000 /* block special */ -#define S_IFCHR 0020000 /* character special */ -#define S_IFIFO 0010000 /* FIFO special */ -#define S_IFREG 0100000 /* regular */ -#define S_IFDIR 0040000 /* directory */ -#define S_IFLNK 0030000 /* symbolic link */ - -#define S_IREAD 00400 -#define S_IWRITE 00200 -#define S_IEXEC 00100 - -/* Need to redefine these for because mode_string in filemode.c assumes Unix - values in the lower 9 bits which are different from CW values. */ -#define S_IRUSR S_IREAD -#define S_IWUSR S_IWRITE -#define S_IXUSR S_IEXEC - -#ifdef __MRC__ -typedef unsigned long dev_t; - -struct stat { - dev_t st_dev; /* ID of device containing file */ - int st_ino; /* file serial number */ - unsigned short st_mode; /* mode of file */ - int st_nlink; /* number of links to the file */ - int st_uid; /* user ID of file */ - int st_gid; /* group ID of file */ - int st_rdev; /* device ID (if file is character or block special) */ - int st_size; /* file size in bytes (if file is a regular file) */ - int st_atime; /* time of last access */ - int st_mtime; /* time of last data modification */ - int st_ctime; /* time of last status change */ -}; -#endif /* __MRC__ */ - -#endif /* _SYS_STAT_H */ - -/* arch-tag: b7da83f5-3d3f-4b19-9cd2-790dd87145e4 - (do not change this comment) */ diff --git a/mac/inc/sys/time.h b/mac/inc/sys/time.h deleted file mode 100644 index 8a10304f670..00000000000 --- a/mac/inc/sys/time.h +++ /dev/null @@ -1,50 +0,0 @@ -/* Replacement sys/time.h file for building GNU Emacs on the Macintosh. - Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, - 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -#ifndef _SYS_TIME_H -#define _SYS_TIME_H - -struct timeval { - long tv_sec; /* seconds */ - long tv_usec; /* microseconds */ -}; - -#define ITIMER_REAL 0 -#if 0 -#define ITIMER_VIRTUAL 1 -#define ITIMER_PROF 2 -#endif - -struct itimerval { -#if 0 - struct timeval it_interval; /* timer interval */ -#endif - struct timeval it_value; /* current value */ -}; - -extern int setitimer(int, const struct itimerval *, struct itimerval *); - -#endif /* _SYS_TYPES_H */ - -/* arch-tag: f85ed04d-0e99-4f97-892b-fe029d0e92f9 - (do not change this comment) */ diff --git a/mac/inc/sys/types.h b/mac/inc/sys/types.h deleted file mode 100644 index f76c6834899..00000000000 --- a/mac/inc/sys/types.h +++ /dev/null @@ -1,44 +0,0 @@ -/* Replacement sys/types.h file for building GNU Emacs on the Macintosh. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -#ifndef _SYS_TYPES_H -#define _SYS_TYPES_H - -#ifdef __MWERKS__ -/* Need definitions of uid_t from stat.h */ -#include <stat.h> -#endif /* __MWERKS__ */ - -#ifdef __MRC__ -typedef long uid_t; -typedef long gid_t; -typedef long off_t; -typedef long ino_t; - -typedef unsigned long mode_t; -#endif /* __MRC__ */ - -#endif /* _SYS_TYPES_H */ - -/* arch-tag: d4b69a6a-b2ff-4be2-a152-a162af81d823 - (do not change this comment) */ diff --git a/mac/inc/termio.h b/mac/inc/termio.h deleted file mode 100644 index a812a67d52b..00000000000 --- a/mac/inc/termio.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Replacement termio.h file for building GNU Emacs on the Macintosh. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -#ifndef _SYS_TERMIO_H -#define _SYS_TERMIO_H - -typedef unsigned char cc_t; -typedef unsigned short tcflag_t; - -#define NCCS 32 - -struct termio { - tcflag_t c_iflag; /* input modes */ - tcflag_t c_oflag; /* output modes */ - tcflag_t c_cflag; /* control modes */ - tcflag_t c_lflag; /* local modes */ - cc_t c_cc[NCCS]; /* control chars */ -}; - -/* c_cc subscript names */ -#define VINTR 1 -#define VQUIT 2 -#define VERASE 3 -#define VTIME 4 -#define VMIN 5 - -/* c_iflag fields */ -#define IGNBRK 0x1 /* ignore break condition */ -#define ICRNL 0x2 /* map CR to NL on input */ -#define IXON 0x4 /* enable start/stop output control */ - -/* c_oflag fields */ -#define ONLCR 0x1 /* map CR to NL on output */ -#define TABDLY 0x2 /* horizontal tab delays */ -#define TAB3 0x4 /* expand tab to spaces */ - -/* c_cflag fields */ -#define CBAUD 0x1 -#define B9600 0x2 - -/* c_lflag fields */ -#define ISIG 0x1 /* enable signals */ -#define ICANON 0x2 /* canonical input (erase and kill processing) */ -#define ECHO 0x3 /* enable echo */ - -#define TCSETAW 4 -#define TCSETAF 5 - -#endif /* _SYS_TERMIO_H */ - -/* arch-tag: 0e7a100d-2ac0-412e-9dc4-52e39ef43e14 - (do not change this comment) */ diff --git a/mac/inc/utime.h b/mac/inc/utime.h deleted file mode 100644 index 4a8d0428f63..00000000000 --- a/mac/inc/utime.h +++ /dev/null @@ -1,41 +0,0 @@ -/* Replacement utime.h file for building GNU Emacs on the Macintosh. - Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, - 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -#ifndef _UTIME_H_ -#define _UTIME_H_ - -#include <time.h> - -#define _mac_unix_epoch_offset_ (365L * 4L) * 24L * 60L * 60L - -struct utimbuf { - time_t actime; /* access time (ignored on the Mac) */ - time_t modtime; /* modification time */ -}; - -int utime(const char *path, const struct utimbuf *buf); - -#endif - -/* arch-tag: 52dc3f6b-6122-4568-8f09-a5a56de6a324 - (do not change this comment) */ diff --git a/mac/inc/utsname.h b/mac/inc/utsname.h deleted file mode 100644 index 01c47702c7f..00000000000 --- a/mac/inc/utsname.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Replacement utsname.h file for building GNU Emacs on the Macintosh. - Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, - 2006, 2007, 2008 Free Software Foundation, Inc. - -This file is part of GNU Emacs. - -GNU Emacs is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GNU Emacs is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* Contributed by Andrew Choi (akochoi@mac.com). */ - -#ifndef _UTSNAME_H -#define _UTSNAME_H - -struct utsname { - char nodename[255]; -}; - -int uname(struct utsname *name); - -#endif - -/* arch-tag: 8a013744-4d43-4084-8e2f-d3fb66c83160 - (do not change this comment) */ |