]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/PosixLib/Glob/glob.c
Fix GCC build errors.
[mirror_edk2.git] / StdLib / PosixLib / Glob / glob.c
index dec78d89d67fca4878692301a86946e0cb17126b..a6a2dc156e75fba8658cb065b14070dc5dc28ea2 100644 (file)
  * gl_matchc:\r
  *  Number of matches in the current invocation of glob.\r
  *\r
+    Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+    This program and the accompanying materials are licensed and made available under\r
+    the terms and conditions of the BSD License that accompanies this distribution.\r
+    The full text of the license may be found at\r
+    http://opensource.org/licenses/bsd-license.\r
+\r
+    THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+    WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
  * Copyright (c) 1989, 1993\r
  *  The Regents of the University of California.  All rights reserved.\r
  *\r
     glob.c  8.3 (Berkeley) 10/13/93\r
     NetBSD: glob.c,v 1.23.4.1 2010/07/19 18:14:08 riz Exp\r
  */\r
-#pragma warning ( disable : 4244 )\r
-#pragma warning ( disable : 4018 )\r
+#if defined(_MSC_VER)\r
+  #pragma warning ( disable : 4244 )\r
+  #pragma warning ( disable : 4018 )\r
+#endif\r
 \r
 #include  <LibConfig.h>\r
 \r