projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b4be93
)
Mklinux patch from Tatsuo.
author
Bruce Momjian
Tue, 16 Sep 1997 16:25:28 +0000
(16:25 +0000)
committer
Bruce Momjian
Tue, 16 Sep 1997 16:25:28 +0000
(16:25 +0000)
src/include/port/linux.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/port/linux.h
b/src/include/port/linux.h
index b04e45bebabca5d3b61eeba5a55477c17385003b..20aa3071ae6506aae7dc6d72c254193196543900 100644
(file)
--- a/
src/include/port/linux.h
+++ b/
src/include/port/linux.h
@@
-12,7
+12,10
@@
#if defined(PPC)
typedef unsigned int slock_t;
-
+#elif defined(__alpha__)
+typedef long int slock_t;
+#else
+typedef unsigned char slock_t;
#endif
#if defined(PPC)
@@
-24,14
+27,6
@@
typedef unsigned int slock_t;
#undef NEED_I386_TAS_ASM
#endif
-
#if defined(__alpha__)
#undef NEED_I386_TAS_ASM
#endif
-#if defined(__alpha__)
-typedef long int slock_t;
-
-#else
-typedef unsigned char slock_t;
-
-#endif