Fossil SCM

Merge the solaris10 branch into the trunk.

drh 2011-05-23 15:06 trunk merge
Commit 3e0efc38279da750feba830bc72ceea3a5d03789
2 files changed +1 -1 +7
+1 -1
--- Makefile
+++ Makefile
@@ -58,11 +58,11 @@
5858
5959
# You should not need to change anything below this line
6060
###############################################################################
6161
#
6262
# Automatic platform-specific options.
63
-HOST_OS!= uname -s
63
+HOST_OS :sh = uname -s
6464
6565
LIB.SunOS= -lsocket -lnsl
6666
LIB += $(LIB.$(HOST_OS))
6767
6868
TCC.DragonFly += -DUSE_PREAD
6969
--- Makefile
+++ Makefile
@@ -58,11 +58,11 @@
58
59 # You should not need to change anything below this line
60 ###############################################################################
61 #
62 # Automatic platform-specific options.
63 HOST_OS!= uname -s
64
65 LIB.SunOS= -lsocket -lnsl
66 LIB += $(LIB.$(HOST_OS))
67
68 TCC.DragonFly += -DUSE_PREAD
69
--- Makefile
+++ Makefile
@@ -58,11 +58,11 @@
58
59 # You should not need to change anything below this line
60 ###############################################################################
61 #
62 # Automatic platform-specific options.
63 HOST_OS :sh = uname -s
64
65 LIB.SunOS= -lsocket -lnsl
66 LIB += $(LIB.$(HOST_OS))
67
68 TCC.DragonFly += -DUSE_PREAD
69
--- src/config.h
+++ src/config.h
@@ -82,10 +82,17 @@
8282
8383
#ifndef _RC_COMPILE_
8484
8585
#include "sqlite3.h"
8686
87
+/*
88
+** On Solaris, getpass() will only return up to 8 characters. getpassphrase() returns up to 257.
89
+*/
90
+#if defined(__sun__) || defined(sun)
91
+ #define getpass getpassphrase
92
+#endif
93
+
8794
/*
8895
** Typedef for a 64-bit integer
8996
*/
9097
typedef sqlite3_int64 i64;
9198
typedef sqlite3_uint64 u64;
9299
--- src/config.h
+++ src/config.h
@@ -82,10 +82,17 @@
82
83 #ifndef _RC_COMPILE_
84
85 #include "sqlite3.h"
86
 
 
 
 
 
 
 
87 /*
88 ** Typedef for a 64-bit integer
89 */
90 typedef sqlite3_int64 i64;
91 typedef sqlite3_uint64 u64;
92
--- src/config.h
+++ src/config.h
@@ -82,10 +82,17 @@
82
83 #ifndef _RC_COMPILE_
84
85 #include "sqlite3.h"
86
87 /*
88 ** On Solaris, getpass() will only return up to 8 characters. getpassphrase() returns up to 257.
89 */
90 #if defined(__sun__) || defined(sun)
91 #define getpass getpassphrase
92 #endif
93
94 /*
95 ** Typedef for a 64-bit integer
96 */
97 typedef sqlite3_int64 i64;
98 typedef sqlite3_uint64 u64;
99

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button