diff options
| author | Dan Nicolaescu | 2010-06-06 01:57:39 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-06-06 01:57:39 -0700 |
| commit | 3085237cdc02088dc5ffbdda813b768970592d1e (patch) | |
| tree | d5c8d090e20ad5f05374f07f11cf413b523f40b7 /lib-src/ntlib.h | |
| parent | eccdfe5fd18f4b573e9eada179242c513b3024b1 (diff) | |
| download | emacs-3085237cdc02088dc5ffbdda813b768970592d1e.tar.gz emacs-3085237cdc02088dc5ffbdda813b768970592d1e.zip | |
Remove BSTRING related code, all platforms define it.
* src/s/usg5-4.h (BSTRING): Remove definition.
* src/s/template.h (BSTRING):
* src/s/msdos.h (BSTRING):
* src/s/ms-w32.h (BSTRING):
* src/s/hpux10-20.h (BSTRING):
* src/s/gnu-linux.h (BSTRING):
* src/s/darwin.h (BSTRING):
* src/s/cygwin.h (BSTRING):
* src/s/bsd-common.h (BSTRING):
* src/s/aix4-2.h (BSTRING): Likewise.
* src/sysdep.c: Remove code depending on BSTRING not being defined.
* configure.in: Remove code dealing with BSTRING.
* lib-src/ntlib.h: Remove code dealing with BSTRING.
* nt/config.nt: Remove code depending on BSTRING.
Diffstat (limited to 'lib-src/ntlib.h')
| -rw-r--r-- | lib-src/ntlib.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib-src/ntlib.h b/lib-src/ntlib.h index ab1e7ba2866..fd51269fdfd 100644 --- a/lib-src/ntlib.h +++ b/lib-src/ntlib.h | |||
| @@ -43,12 +43,6 @@ int setegid (unsigned gid); | |||
| 43 | char * getpass (const char * prompt); | 43 | char * getpass (const char * prompt); |
| 44 | int fchown (int fd, unsigned uid, unsigned gid); | 44 | int fchown (int fd, unsigned uid, unsigned gid); |
| 45 | 45 | ||
| 46 | #ifndef BSTRING | ||
| 47 | #define bzero(b, l) memset(b, 0, l) | ||
| 48 | #define bcopy(s, d, l) memcpy(d, s, l) | ||
| 49 | #define bcmp(a, b, l) memcmp(a, b, l) | ||
| 50 | #endif | ||
| 51 | |||
| 52 | /* redirect or undo interceptions created by config.h */ | 46 | /* redirect or undo interceptions created by config.h */ |
| 53 | #undef access | 47 | #undef access |
| 54 | #define access _access | 48 | #define access _access |