Commit 7a2a7d43 authored by Marc G. Fournier's avatar Marc G. Fournier

Wrap the function in and #ifdef, not the header files

Should fix an AIX compiler problem
parent 3f1b1db7
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.1 1997/12/30 04:03:01 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.2 1998/01/07 17:02:52 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -18,7 +18,6 @@
* to the assembly code involved.
*/
#if defined(__alpha__) && defined(linux)
#include <sys/types.h>
#include <sys/file.h>
......@@ -38,6 +37,7 @@
#include "storage/ipc.h"
#include "storage/s_lock.h"
#if defined(__alpha__) && defined(linux)
void S_LOCK(slock_t* lock)
{
do
......@@ -61,5 +61,4 @@ void S_LOCK(slock_t* lock)
} while (_res != 0);
} while (0);
}
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment