gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11839: add the extern C back in for


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11839: add the extern C back in for jpeglib.h, which is required onsome platforms.
Date: Fri, 29 Jan 2010 10:46:01 -0700
User-agent: Bazaar (2.0.2)

------------------------------------------------------------
revno: 11839
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Fri 2010-01-29 10:46:01 -0700
message:
  add the extern C back in for jpeglib.h, which is required onsome platforms.
modified:
  libbase/GnashImageJpeg.cpp
=== modified file 'libbase/GnashImageJpeg.cpp'
--- a/libbase/GnashImageJpeg.cpp        2010-01-18 07:40:53 +0000
+++ b/libbase/GnashImageJpeg.cpp        2010-01-29 17:46:01 +0000
@@ -43,7 +43,9 @@
 // jpeglib.h redefines HAVE_STDLIB_H. This silences
 // the warnings, but it's not good.
 #undef HAVE_STDLIB_H
-#include <jpeglib.h>
+extern "C" {
+# include <jpeglib.h>
+}              
 #undef HAVE_STDLIB_H
 
 }


reply via email to

[Prev in Thread] Current Thread [Next in Thread]