Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37868351
en ru br
ALT Linux repositórios
5.0: 6b-alt9
4.1: 6b-alt8
4.0: 6b-alt8
3.0: 6b-alt5

Group :: Sistema/Bibliotecas
RPM: libjpeg

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: libjpeg-6b-rh-cplusplus.patch
Download


--- jpeg-6b/jpeglib.h.c++	Sat Jun 17 21:58:15 2000
+++ jpeg-6b/jpeglib.h	Sat Jun 17 21:58:53 2000
@@ -13,6 +13,10 @@
 #ifndef JPEGLIB_H
 #define JPEGLIB_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * First we include the configuration files that record how this
  * installation of the JPEG library is set up.  jconfig.h can be
@@ -1091,6 +1095,10 @@
 #ifdef JPEG_INTERNALS
 #include "jpegint.h"		/* fetch private declarations */
 #include "jerror.h"		/* fetch error codes too */
+#endif
+
+#ifdef __cplusplus
+}
 #endif
 
 #endif /* JPEGLIB_H */
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009