postgresql: Patch for non-working hard links
[termux-packages] / disabled-packages / postgresql / src-include-pg_config_manual.h.patch
CommitLineData
f552180d
FF
1As of version 6.0 Android does not support hard links.
2
3diff -u -r ../postgresql-9.6.2/src/include/pg_config_manual.h ./src/include/pg_config_manual.h
4--- ../postgresql-9.6.2/src/include/pg_config_manual.h 2017-02-06 22:45:25.000000000 +0100
5+++ ./src/include/pg_config_manual.h 2017-03-05 12:18:44.630725191 +0100
6@@ -124,7 +124,7 @@
7 /*
8 * Define this if your operating system supports link()
9 */
10-#if !defined(WIN32) && !defined(__CYGWIN__)
11+#if !defined(WIN32) && !defined(__CYGWIN__) && !defined(__ANDROID__)
12 #define HAVE_WORKING_LINK 1
13 #endif
14