[arrayfire] 101/284: remove windows pause ifdef

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Feb 7 18:59:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/experimental
in repository arrayfire.

commit b1aa87590336b011040279151d3790eb8519441d
Author: syurkevi <stefan at arrayfire.com>
Date:   Mon Dec 21 13:43:09 2015 -0500

    remove windows pause ifdef
---
 examples/graphics/gravity_sim.cpp | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/examples/graphics/gravity_sim.cpp b/examples/graphics/gravity_sim.cpp
index 25ca0da..3fc19d8 100644
--- a/examples/graphics/gravity_sim.cpp
+++ b/examples/graphics/gravity_sim.cpp
@@ -135,13 +135,6 @@ int main(int argc, char *argv[])
         throw;
     }
 
-    #ifdef WIN32 // pause in Windows
-    if (!(argc == 2 && argv[1][0] == '-')) {
-        printf("hit [enter]...");
-        fflush(stdout);
-        getchar();
-    }
-    #endif
     return 0;
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list