WSADATA wsaData;
#endif
#if WIN32|WINNT
- /* Get build numbers for Windows NT or Win95 */
- if (dwVersion < 0x80000000){
- php_os="WINNT";
- } else {
- php_os="WIN32";
- }
+ {
+ DWORD dwVersion = GetVersion();
+
+ /* Get build numbers for Windows NT or Win95 */
+ if (dwVersion < 0x80000000){
+ php_os="WINNT";
+ } else {
+ php_os="WIN32";
+ }
+ }
#else
php_os=PHP_OS;
#endif
# End Source File\r
# Begin Source File\r
\r
-SOURCE=.\ext\mcal\php3_mcal.c\r
+SOURCE=.\ext\mcal\php_mcal.c\r
# End Source File\r
# Begin Source File\r
\r
for ($k=0; $k<10; $k++):
-for ($i=0,$sum=0; $i<150; $i++) {
+for ($i=0,$sum=0; $i<50; $i++) {
$sum = $sum+factorial($i);
}
endfor;