mirror of
https://github.com/rfivet/uemacs.git
synced 2025-01-02 14:37:06 -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 */
|
/* lock.c -- implements lock.h */
|
||||||
|
|
||||||
#include "estruct.h"
|
|
||||||
#include "lock.h"
|
#include "lock.h"
|
||||||
|
|
||||||
/* LOCK.C
|
/* LOCK.C
|
||||||
|
8
lock.h
8
lock.h
@ -1,9 +1,9 @@
|
|||||||
|
/* lock.h -- */
|
||||||
|
|
||||||
#ifndef _LOCK_H_
|
#ifndef _LOCK_H_
|
||||||
#define _LOCK_H_
|
#define _LOCK_H_
|
||||||
|
|
||||||
#ifndef _ESTRUCT_H_
|
#include "estruct.h"
|
||||||
#error uEmacs compilation settings needs to be done!
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if BSD | SVR4
|
#if BSD | SVR4
|
||||||
|
|
||||||
@ -14,3 +14,5 @@ int unlock( const char *fname) ;
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* end of lock.h */
|
||||||
|
1
pklock.c
1
pklock.c
@ -1,5 +1,4 @@
|
|||||||
/* pklock.c -- implements pklock.h */
|
/* pklock.c -- implements pklock.h */
|
||||||
#include "estruct.h"
|
|
||||||
#include "pklock.h"
|
#include "pklock.h"
|
||||||
|
|
||||||
/* PKLOCK.C
|
/* PKLOCK.C
|
||||||
|
8
pklock.h
8
pklock.h
@ -1,9 +1,9 @@
|
|||||||
|
/* pklock.h -- */
|
||||||
|
|
||||||
#ifndef _PKLOCK_H_
|
#ifndef _PKLOCK_H_
|
||||||
#define _PKLOCK_H_
|
#define _PKLOCK_H_
|
||||||
|
|
||||||
#ifndef _ESTRUCT_H_
|
#include "estruct.h"
|
||||||
#error uEmacs compilation settings needs to be done!
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if (FILOCK && BSD) || SVR4
|
#if (FILOCK && BSD) || SVR4
|
||||||
|
|
||||||
@ -13,3 +13,5 @@ char *undolock( const char *fname) ;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* end of pklock.h */
|
||||||
|
Loading…
Reference in New Issue
Block a user