Merge release-4-6 into master
[alexxy/gromacs.git] / src / gromacs / gmxlib / futil.c
index b4c67c0f8a7042c149642cb47fc2dc5aac39e41d..b00e2887c8a93d36d3d16bd04371d33bf18751e5 100644 (file)
@@ -337,11 +337,7 @@ static gmx_bool gmx_is_file(const char *fname)
         {
             int status;
             struct stat st_buf;
-            #ifdef HAVE_LSTAT
-                status = lstat (fname, &st_buf);
-            #else
-                status = stat (fname, &st_buf);
-            #endif
+            status = stat (fname, &st_buf);
             if (status != 0 || !S_ISREG(st_buf.st_mode))
             {
                 return FALSE;