Improve detection of sphinx-build.
[alexxy/gromacs.git] / cmake / TestPipes.cpp
1 #ifdef __CYGWIN__
2     /* Pipes need POSIX things, not just std ones */
3     #define _POSIX_C_SOURCE 200809L
4 #endif
5 #include <stdio.h>
6
7 int
8 main()
9 {
10   FILE *fp;
11
12   fp = popen("/tmp/xyz","r");
13   return (fp==NULL);
14 }