|
@@ -15,8 +15,13 @@
|
|
**********************************************************************}
|
|
**********************************************************************}
|
|
|
|
|
|
const
|
|
const
|
|
|
|
+{$ifndef FPC_USE_SMALL_DEFAULTSTACKSIZE}
|
|
{ includes 16384 bytes margin for stackchecking }
|
|
{ includes 16384 bytes margin for stackchecking }
|
|
DefaultStackSize = 4*1024*1024;
|
|
DefaultStackSize = 4*1024*1024;
|
|
|
|
+{$else i.e. FPC_USE_SMALL_DEFAULTSTACKSIZE}
|
|
|
|
+ { Special value of Default stack size }
|
|
|
|
+ DefaultStackSize = 16 * 1024;
|
|
|
|
+{$endif not FPC_USE_SMALL_DEFAULTSTACKSIZE}
|
|
|
|
|
|
{ every platform can have it's own implementation of GetCPUCount; use the define
|
|
{ every platform can have it's own implementation of GetCPUCount; use the define
|
|
HAS_GETCPUCOUNT to disable the default implementation which simply returns 1 }
|
|
HAS_GETCPUCOUNT to disable the default implementation which simply returns 1 }
|