Permalink
Browse files

combine sm in source

  • Loading branch information...
1 parent f33cd59 commit d40cad9feb14c0a2be44ddbe693a178181c4dbb1 @erh erh committed Aug 19, 2011
Showing with 132,877 additions and 86 deletions.
  1. +3 −0 .gitignore
  2. +16 −50 SConstruct
  3. +6 −4 buildscripts/hacks_ubuntu.py
  4. +1 −32 scripting/engine_spidermonkey.h
  5. +388 −0 third_party/js-1.7/Makefile.in
  6. +375 −0 third_party/js-1.7/Makefile.ref
  7. +826 −0 third_party/js-1.7/README.html
  8. +12 −0 third_party/js-1.7/SpiderMonkey.rsp
  9. +19 −0 third_party/js-1.7/Y.js
  10. +186 −0 third_party/js-1.7/config.mk
  11. +65 −0 third_party/js-1.7/config/AIX4.1.mk
  12. +64 −0 third_party/js-1.7/config/AIX4.2.mk
  13. +65 −0 third_party/js-1.7/config/AIX4.3.mk
  14. +36 −0 third_party/js-1.7/config/CVS/Entries
  15. +1 −0 third_party/js-1.7/config/CVS/Repository
  16. +1 −0 third_party/js-1.7/config/CVS/Root
  17. +1 −0 third_party/js-1.7/config/CVS/Tag
  18. +83 −0 third_party/js-1.7/config/Darwin.mk
  19. +81 −0 third_party/js-1.7/config/Darwin1.3.mk
  20. +41 −0 third_party/js-1.7/config/Darwin1.4.mk
  21. +81 −0 third_party/js-1.7/config/Darwin5.2.mk
  22. +81 −0 third_party/js-1.7/config/Darwin5.3.mk
  23. +77 −0 third_party/js-1.7/config/HP-UXB.10.10.mk
  24. +77 −0 third_party/js-1.7/config/HP-UXB.10.20.mk
  25. +80 −0 third_party/js-1.7/config/HP-UXB.11.00.mk
  26. +87 −0 third_party/js-1.7/config/IRIX.mk
  27. +44 −0 third_party/js-1.7/config/IRIX5.3.mk
  28. +44 −0 third_party/js-1.7/config/IRIX6.1.mk
  29. +44 −0 third_party/js-1.7/config/IRIX6.2.mk
  30. +44 −0 third_party/js-1.7/config/IRIX6.3.mk
  31. +44 −0 third_party/js-1.7/config/IRIX6.5.mk
  32. +103 −0 third_party/js-1.7/config/Linux_All.mk
  33. +82 −0 third_party/js-1.7/config/Mac_OS10.0.mk
  34. +72 −0 third_party/js-1.7/config/OSF1V4.0.mk
  35. +69 −0 third_party/js-1.7/config/OSF1V5.0.mk
  36. +101 −0 third_party/js-1.7/config/SunOS4.1.4.mk
  37. +91 −0 third_party/js-1.7/config/SunOS5.3.mk
  38. +92 −0 third_party/js-1.7/config/SunOS5.4.mk
  39. +44 −0 third_party/js-1.7/config/SunOS5.5.1.mk
  40. +87 −0 third_party/js-1.7/config/SunOS5.5.mk
  41. +89 −0 third_party/js-1.7/config/SunOS5.6.mk
  42. +44 −0 third_party/js-1.7/config/SunOS5.7.mk
  43. +44 −0 third_party/js-1.7/config/SunOS5.8.mk
  44. +44 −0 third_party/js-1.7/config/SunOS5.9.mk
  45. +117 −0 third_party/js-1.7/config/WINNT4.0.mk
  46. +117 −0 third_party/js-1.7/config/WINNT5.0.mk
  47. +117 −0 third_party/js-1.7/config/WINNT5.1.mk
  48. +117 −0 third_party/js-1.7/config/WINNT5.2.mk
  49. +64 −0 third_party/js-1.7/config/dgux.mk
  50. +7 −0 third_party/js-1.7/fdlibm/.cvsignore
  51. +87 −0 third_party/js-1.7/fdlibm/CVS/Entries
  52. +1 −0 third_party/js-1.7/fdlibm/CVS/Repository
  53. +1 −0 third_party/js-1.7/fdlibm/CVS/Root
  54. +1 −0 third_party/js-1.7/fdlibm/CVS/Tag
  55. +127 −0 third_party/js-1.7/fdlibm/Makefile.in
  56. +192 −0 third_party/js-1.7/fdlibm/Makefile.ref
  57. +147 −0 third_party/js-1.7/fdlibm/e_acos.c
  58. +105 −0 third_party/js-1.7/fdlibm/e_acosh.c
  59. +156 −0 third_party/js-1.7/fdlibm/e_asin.c
  60. +165 −0 third_party/js-1.7/fdlibm/e_atan2.c
  61. +110 −0 third_party/js-1.7/fdlibm/e_atanh.c
  62. +133 −0 third_party/js-1.7/fdlibm/e_cosh.c
  63. +202 −0 third_party/js-1.7/fdlibm/e_exp.c
  64. +184 −0 third_party/js-1.7/fdlibm/e_fmod.c
  65. +71 −0 third_party/js-1.7/fdlibm/e_gamma.c
  66. +70 −0 third_party/js-1.7/fdlibm/e_gamma_r.c
  67. +173 −0 third_party/js-1.7/fdlibm/e_hypot.c
  68. +524 −0 third_party/js-1.7/fdlibm/e_j0.c
  69. +523 −0 third_party/js-1.7/fdlibm/e_j1.c
  70. +315 −0 third_party/js-1.7/fdlibm/e_jn.c
  71. +71 −0 third_party/js-1.7/fdlibm/e_lgamma.c
  72. +347 −0 third_party/js-1.7/fdlibm/e_lgamma_r.c
  73. +184 −0 third_party/js-1.7/fdlibm/e_log.c
  74. +134 −0 third_party/js-1.7/fdlibm/e_log10.c
  75. +386 −0 third_party/js-1.7/fdlibm/e_pow.c
  76. +222 −0 third_party/js-1.7/fdlibm/e_rem_pio2.c
  77. +120 −0 third_party/js-1.7/fdlibm/e_remainder.c
  78. +89 −0 third_party/js-1.7/fdlibm/e_scalb.c
  79. +122 −0 third_party/js-1.7/fdlibm/e_sinh.c
  80. +497 −0 third_party/js-1.7/fdlibm/e_sqrt.c
  81. +273 −0 third_party/js-1.7/fdlibm/fdlibm.h
  82. +1,453 −0 third_party/js-1.7/fdlibm/fdlibm.mak
  83. BIN third_party/js-1.7/fdlibm/fdlibm.mdp
  84. +135 −0 third_party/js-1.7/fdlibm/k_cos.c
  85. +354 −0 third_party/js-1.7/fdlibm/k_rem_pio2.c
  86. +114 −0 third_party/js-1.7/fdlibm/k_sin.c
  87. +785 −0 third_party/js-1.7/fdlibm/k_standard.c
  88. +170 −0 third_party/js-1.7/fdlibm/k_tan.c
  89. +101 −0 third_party/js-1.7/fdlibm/s_asinh.c
  90. +175 −0 third_party/js-1.7/fdlibm/s_atan.c
  91. +133 −0 third_party/js-1.7/fdlibm/s_cbrt.c
  92. +120 −0 third_party/js-1.7/fdlibm/s_ceil.c
  93. +72 −0 third_party/js-1.7/fdlibm/s_copysign.c
  94. +118 −0 third_party/js-1.7/fdlibm/s_cos.c
  95. +356 −0 third_party/js-1.7/fdlibm/s_erf.c
  96. +267 −0 third_party/js-1.7/fdlibm/s_expm1.c
  97. +70 −0 third_party/js-1.7/fdlibm/s_fabs.c
  98. +71 −0 third_party/js-1.7/fdlibm/s_finite.c
  99. +121 −0 third_party/js-1.7/fdlibm/s_floor.c
  100. +99 −0 third_party/js-1.7/fdlibm/s_frexp.c
  101. +85 −0 third_party/js-1.7/fdlibm/s_ilogb.c
  102. +74 −0 third_party/js-1.7/fdlibm/s_isnan.c
  103. +66 −0 third_party/js-1.7/fdlibm/s_ldexp.c
  104. +73 −0 third_party/js-1.7/fdlibm/s_lib_version.c
  105. +211 −0 third_party/js-1.7/fdlibm/s_log1p.c
  106. +79 −0 third_party/js-1.7/fdlibm/s_logb.c
  107. +64 −0 third_party/js-1.7/fdlibm/s_matherr.c
  108. +132 −0 third_party/js-1.7/fdlibm/s_modf.c
  109. +124 −0 third_party/js-1.7/fdlibm/s_nextafter.c
  110. +131 −0 third_party/js-1.7/fdlibm/s_rint.c
  111. +107 −0 third_party/js-1.7/fdlibm/s_scalbn.c
  112. +40 −0 third_party/js-1.7/fdlibm/s_signgam.c
  113. +68 −0 third_party/js-1.7/fdlibm/s_significand.c
  114. +118 −0 third_party/js-1.7/fdlibm/s_sin.c
  115. +112 −0 third_party/js-1.7/fdlibm/s_tan.c
  116. +122 −0 third_party/js-1.7/fdlibm/s_tanh.c
  117. +78 −0 third_party/js-1.7/fdlibm/w_acos.c
  118. +78 −0 third_party/js-1.7/fdlibm/w_acosh.c
  119. +80 −0 third_party/js-1.7/fdlibm/w_asin.c
  120. +79 −0 third_party/js-1.7/fdlibm/w_atan2.c
  121. +81 −0 third_party/js-1.7/fdlibm/w_atanh.c
  122. +77 −0 third_party/js-1.7/fdlibm/w_cosh.c
  123. +88 −0 third_party/js-1.7/fdlibm/w_exp.c
  124. +78 −0 third_party/js-1.7/fdlibm/w_fmod.c
  125. +85 −0 third_party/js-1.7/fdlibm/w_gamma.c
  126. +81 −0 third_party/js-1.7/fdlibm/w_gamma_r.c
  127. +78 −0 third_party/js-1.7/fdlibm/w_hypot.c
  128. +105 −0 third_party/js-1.7/fdlibm/w_j0.c
  129. +106 −0 third_party/js-1.7/fdlibm/w_j1.c
  130. +128 −0 third_party/js-1.7/fdlibm/w_jn.c
  131. +85 −0 third_party/js-1.7/fdlibm/w_lgamma.c
  132. +81 −0 third_party/js-1.7/fdlibm/w_lgamma_r.c
  133. +78 −0 third_party/js-1.7/fdlibm/w_log.c
  134. +81 −0 third_party/js-1.7/fdlibm/w_log10.c
  135. +99 −0 third_party/js-1.7/fdlibm/w_pow.c
  136. +77 −0 third_party/js-1.7/fdlibm/w_remainder.c
  137. +95 −0 third_party/js-1.7/fdlibm/w_scalb.c
  138. +77 −0 third_party/js-1.7/fdlibm/w_sinh.c
  139. +77 −0 third_party/js-1.7/fdlibm/w_sqrt.c
  140. +3,181 −0 third_party/js-1.7/js.c
  141. +4,344 −0 third_party/js-1.7/js.mak
  142. BIN third_party/js-1.7/js.mdp
  143. +301 −0 third_party/js-1.7/js.msg
  144. +2 −0 third_party/js-1.7/js.pkg
  145. +79 −0 third_party/js-1.7/js3240.rc
  146. +654 −0 third_party/js-1.7/jsOS240.def
  147. +5,011 −0 third_party/js-1.7/jsapi.c
  148. +2,220 −0 third_party/js-1.7/jsapi.h
  149. +502 −0 third_party/js-1.7/jsarena.c
  150. +303 −0 third_party/js-1.7/jsarena.h
  151. +1,864 −0 third_party/js-1.7/jsarray.c
  152. +95 −0 third_party/js-1.7/jsarray.h
  153. +999 −0 third_party/js-1.7/jsatom.c
  154. +456 −0 third_party/js-1.7/jsatom.h
  155. +195 −0 third_party/js-1.7/jsbit.h
  156. +227 −0 third_party/js-1.7/jsbool.c
  157. +76 −0 third_party/js-1.7/jsbool.h
  158. +139 −0 third_party/js-1.7/jsclist.h
  159. +1,229 −0 third_party/js-1.7/jscntxt.c
  160. +1,013 −0 third_party/js-1.7/jscntxt.h
  161. +57 −0 third_party/js-1.7/jscompat.h
  162. +208 −0 third_party/js-1.7/jsconfig.h
  163. +181 −0 third_party/js-1.7/jsconfig.mk
  164. BIN third_party/js-1.7/jscpucfg
  165. +380 −0 third_party/js-1.7/jscpucfg.c
  166. +212 −0 third_party/js-1.7/jscpucfg.h
  167. +2,371 −0 third_party/js-1.7/jsdate.c
  168. +120 −0 third_party/js-1.7/jsdate.h
  169. +1,439 −0 third_party/js-1.7/jsdbgapi.c
  170. +406 −0 third_party/js-1.7/jsdbgapi.h
  171. +826 −0 third_party/js-1.7/jsdhash.c
  172. +581 −0 third_party/js-1.7/jsdhash.h
  173. +3,132 −0 third_party/js-1.7/jsdtoa.c
  174. +130 −0 third_party/js-1.7/jsdtoa.h
  175. +6,845 −0 third_party/js-1.7/jsemit.c
  176. +743 −0 third_party/js-1.7/jsemit.h
  177. +1,348 −0 third_party/js-1.7/jsexn.c
  178. +96 −0 third_party/js-1.7/jsexn.h
  179. +2,735 −0 third_party/js-1.7/jsfile.c
  180. +56 −0 third_party/js-1.7/jsfile.h
  181. +90 −0 third_party/js-1.7/jsfile.msg
  182. +2,330 −0 third_party/js-1.7/jsfun.c
  183. +170 −0 third_party/js-1.7/jsfun.h
  184. +3,201 −0 third_party/js-1.7/jsgc.c
  185. +368 −0 third_party/js-1.7/jsgc.h
  186. +483 −0 third_party/js-1.7/jshash.c
  187. +151 −0 third_party/js-1.7/jshash.h
  188. +485 −0 third_party/js-1.7/jsify.pl
  189. +6,216 −0 third_party/js-1.7/jsinterp.c
  190. +361 −0 third_party/js-1.7/jsinterp.h
  191. +1,080 −0 third_party/js-1.7/jsiter.c
  192. +114 −0 third_party/js-1.7/jsiter.h
  193. +124 −0 third_party/js-1.7/jskeyword.tbl
  194. +460 −0 third_party/js-1.7/jskwgen.c
  195. +266 −0 third_party/js-1.7/jslibmath.h
  196. +1,303 −0 third_party/js-1.7/jslock.c
  197. +266 −0 third_party/js-1.7/jslock.h
  198. +60 −0 third_party/js-1.7/jslocko.asm
  199. +94 −0 third_party/js-1.7/jslog2.c
  200. +281 −0 third_party/js-1.7/jslong.c
  201. +437 −0 third_party/js-1.7/jslong.h
  202. +514 −0 third_party/js-1.7/jsmath.c
  203. +57 −0 third_party/js-1.7/jsmath.h
  204. +1,147 −0 third_party/js-1.7/jsnum.c
  205. +268 −0 third_party/js-1.7/jsnum.h
  206. +5,035 −0 third_party/js-1.7/jsobj.c
  207. +596 −0 third_party/js-1.7/jsobj.h
  208. +4,794 −0 third_party/js-1.7/jsopcode.c
  209. +318 −0 third_party/js-1.7/jsopcode.h
  210. +478 −0 third_party/js-1.7/jsopcode.tbl
  211. +115 −0 third_party/js-1.7/jsosdep.h
  212. +202 −0 third_party/js-1.7/jsotypes.h
  213. +6,547 −0 third_party/js-1.7/jsparse.c
  214. +438 −0 third_party/js-1.7/jsparse.h
  215. +1,264 −0 third_party/js-1.7/jsprf.c
  216. +150 −0 third_party/js-1.7/jsprf.h
  217. +116 −0 third_party/js-1.7/jsproto.tbl
  218. +202 −0 third_party/js-1.7/jsprvtd.h
  219. +667 −0 third_party/js-1.7/jspubtd.h
  220. +4,206 −0 third_party/js-1.7/jsregexp.c
  221. +183 −0 third_party/js-1.7/jsregexp.h
  222. +2,101 −0 third_party/js-1.7/jsscan.c
  223. +389 −0 third_party/js-1.7/jsscan.h
  224. +1,776 −0 third_party/js-1.7/jsscope.c
  225. +407 −0 third_party/js-1.7/jsscope.h
  226. +1,717 −0 third_party/js-1.7/jsscript.c
  227. +225 −0 third_party/js-1.7/jsscript.h
  228. +50 −0 third_party/js-1.7/jsshell.msg
  229. +83 −0 third_party/js-1.7/jsstddef.h
  230. +4,818 −0 third_party/js-1.7/jsstr.c
  231. +500 −0 third_party/js-1.7/jsstr.h
  232. +464 −0 third_party/js-1.7/jstypes.h
  233. +198 −0 third_party/js-1.7/jsutil.c
  234. +106 −0 third_party/js-1.7/jsutil.h
  235. +835 −0 third_party/js-1.7/jsxdrapi.c
  236. +223 −0 third_party/js-1.7/jsxdrapi.h
  237. +8,357 −0 third_party/js-1.7/jsxml.c
  238. +332 −0 third_party/js-1.7/jsxml.h
  239. +114 −0 third_party/js-1.7/lock_SunOS.s
  240. +39 −0 third_party/js-1.7/perfect.js
  241. +33 −0 third_party/js-1.7/plify_jsdhash.sed
  242. +440 −0 third_party/js-1.7/prmjtime.c
  243. +95 −0 third_party/js-1.7/prmjtime.h
  244. +15 −0 third_party/js-1.7/resource.h
  245. +193 −0 third_party/js-1.7/rules.mk
  246. +391 −0 third_party/js-1.7/win32.order
  247. +85 −0 third_party/sm.py
View
@@ -117,6 +117,9 @@ debian/mongodb
#osx
.DS_Store
+#third party
+third_party/js-1.7/jsautocfg.h
+
# QtCreator
*.config
*.creator
View
@@ -36,6 +36,8 @@ def findSettingsSetup():
options = {}
+options_topass = {}
+
def add_option( name, help , nargs , contibutesToVariantDir , dest=None ):
if dest is None:
@@ -56,7 +58,7 @@ def add_option( name, help , nargs , contibutesToVariantDir , dest=None ):
def get_option( name ):
return GetOption( name )
-def has_option( name ):
+def _has_option( name ):
x = get_option( name )
if x is None:
return False
@@ -69,6 +71,12 @@ def has_option( name ):
return True
+def has_option( name ):
+ x = _has_option(name)
+ options_topass[name] = x
+ return x
+
+
def get_variant_dir():
a = []
@@ -252,6 +260,7 @@ else:
if ( not ( usesm or usev8 or justClientLib) ):
usesm = True
+ options_topass["usesm"] = True
distBuild = len( COMMAND_LINE_TARGETS ) == 1 and ( str( COMMAND_LINE_TARGETS[0] ) == "s3dist" or str( COMMAND_LINE_TARGETS[0] ) == "dist" )
@@ -376,8 +385,6 @@ elif usev8:
else:
scriptingFiles += [ "scripting/engine_none.cpp" ]
-coreServerFiles += scriptingFiles
-
coreShardFiles = [ "s/config.cpp" , "s/grid.cpp" , "s/chunk.cpp" , "s/shard.cpp" , "s/shardkey.cpp" ]
shardServerFiles = coreShardFiles + Glob( "s/strategy*.cpp" ) + [ "s/commands_admin.cpp" , "s/commands_public.cpp" , "s/request.cpp" , "s/client.cpp" , "s/cursors.cpp" , "s/server.cpp" , "s/config_migrate.cpp" , "s/s_only.cpp" , "s/stats.cpp" , "s/balance.cpp" , "s/balancer_policy.cpp" , "db/cmdline.cpp" , "s/writeback_listener.cpp" , "s/shard_version.cpp", "s/mr_shard.cpp", "s/security.cpp" ]
serverOnlyFiles += coreShardFiles + [ "s/d_logic.cpp" , "s/d_writeback.cpp" , "s/d_migrate.cpp" , "s/d_state.cpp" , "s/d_split.cpp" , "client/distlock_test.cpp" , "s/d_chunk_manager.cpp" ]
@@ -559,12 +566,6 @@ elif "win32" == os.sys.platform:
boostLibs = []
- env.Append(CPPPATH=[ "js/src/" ])
- env.Append(CPPPATH=["../js/src/"])
- env.Append(LIBPATH=["../js/src"])
- env.Append(LIBPATH=["../js/"])
-
- env.Append( CPPDEFINES=[ "OLDJS" ] )
env.Append( CPPDEFINES=[ "_UNICODE" ] )
env.Append( CPPDEFINES=[ "UNICODE" ] )
@@ -758,11 +759,14 @@ for x in os.listdir( "third_party" ):
myModule = imp.load_module( "third_party_%s" % shortName , open( path , "r" ) , path , ( ".py" , "r" , imp.PY_SOURCE ) )
- fileLists = { "commonFiles" : commonFiles , "serverOnlyFiles" : serverOnlyFiles }
+ fileLists = { "commonFiles" : commonFiles , "serverOnlyFiles" : serverOnlyFiles , "scriptingFiles" : scriptingFiles }
- options = { "windows" : windows }
+ options_topass["windows"] = windows
+ options_topass["nix"] = nix
- myModule.configure( env , fileLists , options )
+ myModule.configure( env , fileLists , options_topass )
+
+coreServerFiles += scriptingFiles
# --- check system ---
@@ -899,47 +903,9 @@ def doConfigure( myenv , shell=False ):
else:
m.configure( conf , myenv )
- # XP_* is for spidermonkey.
- # this is outside of usesm block so don't have to rebuild for java
- if windows:
- myenv.Append( CPPDEFINES=[ "XP_WIN" ] )
- else:
- myenv.Append( CPPDEFINES=[ "XP_UNIX" ] )
-
if solaris:
conf.CheckLib( "nsl" )
- if usesm:
-
- # see http://www.mongodb.org/pages/viewpageattachments.action?pageId=12157032
- J = [ "mozjs" , "js", "js_static" ]
- if windows:
- if msarch == "amd64":
- if release:
- J = [ "js64r", "js", "mozjs" , "js_static" ]
- else:
- J = "js64d"
- print( "looking for js64d.lib for spidermonkey. (available at mongodb.org prebuilt)" );
- else:
- if not force32:
- print( "Assuming a 32 bit build is desired" )
- if release:
- J = [ "js32r", "js", "mozjs" , "js_static" ]
- else:
- J = [ "js32d", "js", "mozjs" , "js_static" ]
-
- myCheckLib( J , True )
- mozHeader = "js"
- if bigLibString(myenv).find( "mozjs" ) >= 0:
- mozHeader = "mozjs"
-
- if not conf.CheckHeader( mozHeader + "/jsapi.h" ):
- if conf.CheckHeader( "jsapi.h" ):
- myenv.Append( CPPDEFINES=[ "OLDJS" ] )
- else:
- print( "no spider monkey headers!" )
- Exit(1)
-
if usev8:
if debugBuild:
myCheckLib( [ "v8_g" , "v8" ] , True )
@@ -2,11 +2,13 @@
import os
def insert( env , options ):
-
- if not foundxulrunner( env , options ):
- if os.path.exists( "usr/include/mozjs/" ):
- env.Append( CPPDEFINES=[ "MOZJS" ] )
+ # now that sm is in the source tree, don't need this
+ # if not foundxulrunner( env , options ):
+ # if os.path.exists( "usr/include/mozjs/" ):
+ # env.Append( CPPDEFINES=[ "MOZJS" ] )
+
+ return
def foundxulrunner( env , options ):
best = None
@@ -21,18 +21,6 @@
// START inc hacking
-#if defined( MOZJS )
-
-#define MOZILLA_1_8_BRANCH
-
-#include "mozjs/jsapi.h"
-#include "mozjs/jsdate.h"
-#include "mozjs/jsregexp.h"
-
-#warning if you are using an ubuntu version of spider monkey, we recommend installing spider monkey from source
-
-#elif defined( OLDJS )
-
#ifdef WIN32
#include "jstypes.h"
#undef JS_PUBLIC_API
@@ -46,30 +34,11 @@
#include "jsdate.h"
#include "jsregexp.h"
-#else
-
-#include "js/jsapi.h"
-#include "js/jsobj.h"
-#include "js/jsdate.h"
-#include "js/jsregexp.h"
-
-#endif
-
// END inc hacking
// -- SM 1.6 hacks ---
#ifndef JSCLASS_GLOBAL_FLAGS
-
-#warning old version of spider monkey ( probably 1.6 ) you should upgrade to at least 1.7
-
-#define JSCLASS_GLOBAL_FLAGS 0
-
-JSBool JS_CStringsAreUTF8() {
- return false;
-}
-
-#define SM16
-
+#error old version of spider monkey ( probably 1.6 ) you should upgrade to at least 1.7
#endif
// -- END SM 1.6 hacks ---
Oops, something went wrong.

0 comments on commit d40cad9

Please sign in to comment.