#include <config.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <fcntl.h>
+#ifndef WIN32
-#include "viralloc.h"
-#include "virfile.h"
-#include "virfilewrapper.h"
-#include "virmock.h"
-#include "virstring.h"
+# include <stdio.h>
+# include <stdlib.h>
+# include <fcntl.h>
+
+# include "viralloc.h"
+# include "virfile.h"
+# include "virfilewrapper.h"
+# include "virmock.h"
+# include "virstring.h"
/* Mapping for prefix overrides */
}
-#define PATH_OVERRIDE(newpath, path) \
+# define PATH_OVERRIDE(newpath, path) \
do { \
init_syms(); \
\
return ret;
}
-#ifdef HAVE___LXSTAT
+# ifdef HAVE___LXSTAT
int __lxstat(int ver, const char *path, struct stat *sb)
{
int ret = -1;
return ret;
}
-#endif /* HAVE___LXSTAT */
+# endif /* HAVE___LXSTAT */
int lstat(const char *path, struct stat *sb)
{
return ret;
}
-#ifdef HAVE___XSTAT
+# ifdef HAVE___XSTAT
int __xstat(int ver, const char *path, struct stat *sb)
{
int ret = -1;
return ret;
}
-#endif /* HAVE___XSTAT */
+# endif /* HAVE___XSTAT */
int stat(const char *path, struct stat *sb)
{
return ret;
}
+#endif