mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-21 08:36:23 -05:00
Replace compilation check by estruct.h header inclusion.
This commit is contained in:
parent
1fbb2fc565
commit
5c65613f03
2
lock.c
2
lock.c
@ -1,6 +1,4 @@
|
||||
/* lock.c -- implements lock.h */
|
||||
|
||||
#include "estruct.h"
|
||||
#include "lock.h"
|
||||
|
||||
/* LOCK.C
|
||||
|
8
lock.h
8
lock.h
@ -1,9 +1,9 @@
|
||||
/* lock.h -- */
|
||||
|
||||
#ifndef _LOCK_H_
|
||||
#define _LOCK_H_
|
||||
|
||||
#ifndef _ESTRUCT_H_
|
||||
#error uEmacs compilation settings needs to be done!
|
||||
#endif
|
||||
#include "estruct.h"
|
||||
|
||||
#if BSD | SVR4
|
||||
|
||||
@ -14,3 +14,5 @@ int unlock( const char *fname) ;
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* end of lock.h */
|
||||
|
1
pklock.c
1
pklock.c
@ -1,5 +1,4 @@
|
||||
/* pklock.c -- implements pklock.h */
|
||||
#include "estruct.h"
|
||||
#include "pklock.h"
|
||||
|
||||
/* PKLOCK.C
|
||||
|
8
pklock.h
8
pklock.h
@ -1,9 +1,9 @@
|
||||
/* pklock.h -- */
|
||||
|
||||
#ifndef _PKLOCK_H_
|
||||
#define _PKLOCK_H_
|
||||
|
||||
#ifndef _ESTRUCT_H_
|
||||
#error uEmacs compilation settings needs to be done!
|
||||
#endif
|
||||
#include "estruct.h"
|
||||
|
||||
#if (FILOCK && BSD) || SVR4
|
||||
|
||||
@ -13,3 +13,5 @@ char *undolock( const char *fname) ;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* end of pklock.h */
|
||||
|
Loading…
Reference in New Issue
Block a user