Whamcloud - gitweb
Branch HEAD
authoradilger <adilger>
Thu, 8 Mar 2007 20:59:25 +0000 (20:59 +0000)
committeradilger <adilger>
Thu, 8 Mar 2007 20:59:25 +0000 (20:59 +0000)
Avoid duplicate definition of SYSIO_INTERFACE_NAME.
b=11175
r=nic (original patch)

libsysio/include/sysio-cmn.h

index 07b3339..ed9a2c1 100644 (file)
@@ -98,12 +98,14 @@ struct iovec;
 /*
  * SYSIO name label macros
  */
+#ifndef SYIO_INTERFACE_NAME
 #ifdef SYSIO_LABEL_NAMES
 #define SYSIO_INTERFACE_NAME(x) \
        PREPEND(SYSIO_LABEL_NAMES, x)
 #else
 #define SYSIO_INTERFACE_NAME(x) x
-#endif
+#endif /* SYSIO_LABEL_NAMES */
+#endif /* SYSIO_INTERFACE_NAME */
 
 /* for debugging */
 #if 0