Merge release-4-5-patches into release-4-6
[alexxy/gromacs.git] / src / gmxlib / futil.c
index 3834e36b35cf3117bb8490af74168bd46d0ef91b..ee4d0eccfe5fe4d7100962be0dd96814be8e2c80 100644 (file)
@@ -335,11 +335,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;