[PHP-CVS] com php-src: more precise condition: main/rfc1867.c

2013-09-17 Thread Michael Wallner
Commit:d80a91018dc0d7b771cf8517f788a408f3a4f473
Author:Ralf Lang  Tue, 23 Jul 2013 07:39:36 
+0200
Parents:   b07e55fdeba5d3e415671c0981e3041841b2485e
Branches:  master

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=d80a91018dc0d7b771cf8517f788a408f3a4f473

Log:
more precise condition

Changed paths:
  M  main/rfc1867.c


Diff:
diff --git a/main/rfc1867.c b/main/rfc1867.c
index 8460929..3c16070 100644
--- a/main/rfc1867.c
+++ b/main/rfc1867.c
@@ -34,7 +34,7 @@
 #include "rfc1867.h"
 #include "ext/standard/php_string.h"
 
-#if defined(_MSC_VER)
+#if defined(PHP_WIN32) && !defined(HAVE_ATOLL)
 # define atoll(s) _atoi64(s)
 #endif


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] com php-src: more precise condition: main/rfc1867.c

2013-08-09 Thread Michael Wallner
Commit:8a7ea474a4f8d8e61e0ed9d82cf764eb6b13f580
Author:Ralf Lang  Tue, 23 Jul 2013 07:39:36 
+0200
Committer: Michael Wallner   Tue, 6 Aug 2013 22:51:58 +0200
Parents:   679fa1fc6854dce7d5d0ff7def65a5bbdbb18094
Branches:  master

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=8a7ea474a4f8d8e61e0ed9d82cf764eb6b13f580

Log:
more precise condition

Changed paths:
  M  main/rfc1867.c


Diff:
diff --git a/main/rfc1867.c b/main/rfc1867.c
index 8460929..3c16070 100644
--- a/main/rfc1867.c
+++ b/main/rfc1867.c
@@ -34,7 +34,7 @@
 #include "rfc1867.h"
 #include "ext/standard/php_string.h"
 
-#if defined(_MSC_VER)
+#if defined(PHP_WIN32) && !defined(HAVE_ATOLL)
 # define atoll(s) _atoi64(s)
 #endif


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php