]> git.tuebingen.mpg.de Git - adu.git/blobdiff - gcc-compat.h
Replace systemlinux.org URL and email address.
[adu.git] / gcc-compat.h
index 4ba96ae16da204b760219bded23e55c38053976c..37a486b640c91e3e4568bb5aed9b4266c789cdaf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2008 Andre Noll <maan@tuebingen.mpg.de>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -34,7 +34,7 @@
 /**
  * Let gcc check format strings also for our own functions.
  *
- * Functions marked with \p __printf will be cheked by gcc for format string
+ * Functions marked with \p __printf will be checked by gcc for format string
  * bugs, just like printf() if -Wformat-security is enabled.
  *
  * \param p The number of the "format string" parameter.
  */
 #define _static_inline_ static inline
 
+/**
+ * On systems whihout large file support (BSD) there is no * struct stat64 and
+ * no lstat64().
+ */
 #ifndef HAVE_STAT64
-#define stat64 stat
-#define lstat64 lstat
+       /** Use the usual stat structure. */
+       #define stat64 stat
+       /** Use the usual lstat() function. */
+       #define lstat64 lstat
 #endif