Author: post
Date: 2011-03-24 20:16:35 +0100 (Thu, 24 Mar 2011)
New Revision: 353

Modified:
   RawSpeed/ArwDecoder.h
   RawSpeed/BitPumpJPEG.h
   RawSpeed/BitPumpMSB.h
   RawSpeed/BitPumpMSB32.h
   RawSpeed/BitPumpPlain.h
   RawSpeed/BlackArea.h
   RawSpeed/ByteStream.h
   RawSpeed/ByteStreamSwap.h
   RawSpeed/Camera.h
   RawSpeed/CameraMetaData.h
   RawSpeed/CameraMetadataException.h
   RawSpeed/ColorFilterArray.h
   RawSpeed/Common.h
   RawSpeed/Cr2Decoder.h
   RawSpeed/DngDecoder.h
   RawSpeed/DngDecoderSlices.h
   RawSpeed/FileIOException.h
   RawSpeed/FileMap.h
   RawSpeed/FileReader.h
   RawSpeed/IOException.h
   RawSpeed/LJpegDecompressor.h
   RawSpeed/LJpegPlain.h
   RawSpeed/NefDecoder.h
   RawSpeed/NikonDecompressor.h
   RawSpeed/OrfDecoder.h
   RawSpeed/PefDecoder.h
   RawSpeed/PentaxDecompressor.h
   RawSpeed/RawDecoder.h
   RawSpeed/RawDecoderException.h
   RawSpeed/RawImage.h
   RawSpeed/Rw2Decoder.h
   RawSpeed/SrwDecoder.h
   RawSpeed/TiffEntry.h
   RawSpeed/TiffEntryBE.h
   RawSpeed/TiffIFD.h
   RawSpeed/TiffIFDBE.h
   RawSpeed/TiffParser.h
   RawSpeed/TiffParserException.h
   RawSpeed/TiffParserHeaderless.h
   RawSpeed/TiffParserOlympus.h
Log:
Replace #pragma once with #ifdefs for better compatibility. Thanks to James Lee!

Modified: RawSpeed/ArwDecoder.h
===================================================================
--- RawSpeed/ArwDecoder.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/ArwDecoder.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -19,7 +19,9 @@
 
     http://www.klauspost.com
 */
-#pragma once
+#ifndef ARW_DECODER_H
+#define ARW_DECODER_H
+
 #include "RawDecoder.h"
 #include "LJpegPlain.h"
 #include "TiffIFD.h"
@@ -46,3 +48,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/BitPumpJPEG.h
===================================================================
--- RawSpeed/BitPumpJPEG.h      2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/BitPumpJPEG.h      2011-03-24 19:16:35 UTC (rev 353)
@@ -19,7 +19,9 @@
 
     http://www.klauspost.com
 */
-#pragma once
+#ifndef BIT_PUMP_JPEG_H
+#define BIT_PUMP_JPEG_H
+
 #include "ByteStream.h"
 #include "IOException.h"
 
@@ -117,3 +119,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/BitPumpMSB.h
===================================================================
--- RawSpeed/BitPumpMSB.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/BitPumpMSB.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -19,7 +19,9 @@
 
     http://www.klauspost.com
 */
-#pragma once
+#ifndef BIT_PUMP_MSB_H
+#define BIT_PUMP_MSB_H
+
 #include "ByteStream.h"
 
 #define BITS_PER_LONG (8*sizeof(uint32))
@@ -152,3 +154,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/BitPumpMSB32.h
===================================================================
--- RawSpeed/BitPumpMSB32.h     2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/BitPumpMSB32.h     2011-03-24 19:16:35 UTC (rev 353)
@@ -19,7 +19,9 @@
 
     http://www.klauspost.com
 */
-#pragma once
+#ifndef BIT_PUMP_MSB32_H
+#define BIT_PUMP_MSB32_H
+
 #include "ByteStream.h"
 
 #ifdef MIN_GET_BITS
@@ -74,3 +76,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/BitPumpPlain.h
===================================================================
--- RawSpeed/BitPumpPlain.h     2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/BitPumpPlain.h     2011-03-24 19:16:35 UTC (rev 353)
@@ -19,7 +19,9 @@
 
     http://www.klauspost.com
 */
-#pragma once
+#ifndef BIT_PUMP_PLAIN_H
+#define BIT_PUMP_PLAIN_H
+
 #include "ByteStream.h"
 
 namespace RawSpeed {
@@ -54,3 +56,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/BlackArea.h
===================================================================
--- RawSpeed/BlackArea.h        2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/BlackArea.h        2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef BLACK_AREA_H
+#define BLACK_AREA_H
+
 /* 
     RawSpeed - RAW file decoder.
 
@@ -33,3 +35,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/ByteStream.h
===================================================================
--- RawSpeed/ByteStream.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/ByteStream.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -19,7 +19,9 @@
 
     http://www.klauspost.com
 */
-#pragma once
+#ifndef BYTE_STREAM_H
+#define BYTE_STREAM_H
+
 #include "IOException.h"
 
 namespace RawSpeed {
@@ -48,3 +50,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/ByteStreamSwap.h
===================================================================
--- RawSpeed/ByteStreamSwap.h   2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/ByteStreamSwap.h   2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef BYTE_STREAM_SWAP_H
+#define BYTE_STREAM_SWAP_H
+
 #include "ByteStream.h"
 
 #include "IOException.h"
@@ -17,3 +19,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/Camera.h
===================================================================
--- RawSpeed/Camera.h   2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/Camera.h   2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef CAMERA_H
+#define CAMERA_H
+
 #include "ColorFilterArray.h"
 #include <libxml/parser.h>
 #include "BlackArea.h"
@@ -58,3 +60,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/CameraMetaData.h
===================================================================
--- RawSpeed/CameraMetaData.h   2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/CameraMetaData.h   2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef CAMERA_META_DATA_H
+#define CAMERA_META_DATA_H
+
 #include <libxml/xmlmemory.h>
 #include <libxml/parser.h>
 #include <libxml/xmlschemas.h>
@@ -41,3 +43,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/CameraMetadataException.h
===================================================================
--- RawSpeed/CameraMetadataException.h  2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/CameraMetadataException.h  2011-03-24 19:16:35 UTC (rev 353)
@@ -19,8 +19,10 @@
 
     http://www.klauspost.com
 */
-#pragma once
+#ifndef CAMERA_METADATA_EXCEPTION_H
+#define CAMERA_METADATA_EXCEPTION_H
 
+
 namespace RawSpeed {
 
 void ThrowCME(const char* fmt, ...);
@@ -33,3 +35,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/ColorFilterArray.h
===================================================================
--- RawSpeed/ColorFilterArray.h 2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/ColorFilterArray.h 2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef COLOR_FILTER_ARRAY_H
+#define COLOR_FILTER_ARRAY_H
+
 #include "RawDecoderException.h"
 /* 
     RawSpeed - RAW file decoder.
@@ -66,3 +68,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/Common.h
===================================================================
--- RawSpeed/Common.h   2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/Common.h   2011-03-24 19:16:35 UTC (rev 353)
@@ -19,8 +19,10 @@
 
     http://www.klauspost.com
 */
-#pragma once
+#ifndef COMMON_H
+#define COMMON_H
 
+
 #if !defined(__unix__) && !defined(__MINGW32__)
 #include <intrin.h>
 #pragma intrinsic(_ReturnAddress)
@@ -135,3 +137,5 @@
 
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/Cr2Decoder.h
===================================================================
--- RawSpeed/Cr2Decoder.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/Cr2Decoder.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef CR2_DECODER_H
+#define CR2_DECODER_H
+
 #include "RawDecoder.h"
 #include "LJpegPlain.h"
 #include "TiffIFD.h"
@@ -55,4 +57,5 @@
   uint32 count;
 };
 
-} // namespace RawSpeed
\ No newline at end of file
+} // namespace RawSpeed
+#endif

Modified: RawSpeed/DngDecoder.h
===================================================================
--- RawSpeed/DngDecoder.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/DngDecoder.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef DNG_DECODER_H
+#define DNG_DECODER_H
+
 #include "LJpegPlain.h"
 #include "TiffIFD.h"
 #include "DngDecoderSlices.h"
@@ -55,3 +57,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/DngDecoderSlices.h
===================================================================
--- RawSpeed/DngDecoderSlices.h 2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/DngDecoderSlices.h 2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef DNG_DECODER_SLICES_H
+#define DNG_DECODER_SLICES_H
+
 #include "RawDecoder.h"
 #include <queue>
 #include "LJpegPlain.h"
@@ -72,3 +74,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/FileIOException.h
===================================================================
--- RawSpeed/FileIOException.h  2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/FileIOException.h  2011-03-24 19:16:35 UTC (rev 353)
@@ -21,8 +21,10 @@
 
     http://www.klauspost.com
 */
-#pragma once
+#ifndef FILE_IOEXCEPTION_H
+#define FILE_IOEXCEPTION_H
 
+
 namespace RawSpeed {
 
 void ThrowFIE(const char* fmt, ...);
@@ -34,3 +36,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/FileMap.h
===================================================================
--- RawSpeed/FileMap.h  2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/FileMap.h  2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef FILE_MAP_H
+#define FILE_MAP_H
+
 #include "FileIOException.h"
 /* 
     RawSpeed - RAW file decoder.
@@ -55,3 +57,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/FileReader.h
===================================================================
--- RawSpeed/FileReader.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/FileReader.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -19,7 +19,9 @@
 
     http://www.klauspost.com
 */
-#pragma once
+#ifndef FILE_READER_H
+#define FILE_READER_H
+
 #include "FileIOException.h"
 #include "FileMap.h"
 
@@ -39,3 +41,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/IOException.h
===================================================================
--- RawSpeed/IOException.h      2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/IOException.h      2011-03-24 19:16:35 UTC (rev 353)
@@ -21,8 +21,10 @@
 
     http://www.klauspost.com
 */
-#pragma once
+#ifndef IOEXCEPTION_H
+#define IOEXCEPTION_H
 
+
 namespace RawSpeed {
 
 void ThrowIOE(const char* fmt, ...);
@@ -36,3 +38,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/LJpegDecompressor.h
===================================================================
--- RawSpeed/LJpegDecompressor.h        2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/LJpegDecompressor.h        2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef LJPEG_DECOMPRESSOR_H
+#define LJPEG_DECOMPRESSOR_H
+
 #include "RawDecoder.h"
 #include "BitPumpMSB.h"
 /* 
@@ -194,3 +196,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/LJpegPlain.h
===================================================================
--- RawSpeed/LJpegPlain.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/LJpegPlain.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef LJPEG_PLAIN_H
+#define LJPEG_PLAIN_H
+
 #include "LJpegDecompressor.h"
 #include "BitPumpMSB.h"
 /* 
@@ -49,3 +51,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/NefDecoder.h
===================================================================
--- RawSpeed/NefDecoder.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/NefDecoder.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef NEF_DECODER_H
+#define NEF_DECODER_H
+
 #include "RawDecoder.h"
 #include "LJpegPlain.h"
 #include "TiffIFD.h"
@@ -55,4 +57,5 @@
   uint32 count;
 };
 
-} // namespace RawSpeed
\ No newline at end of file
+} // namespace RawSpeed
+#endif

Modified: RawSpeed/NikonDecompressor.h
===================================================================
--- RawSpeed/NikonDecompressor.h        2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/NikonDecompressor.h        2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef NIKON_DECOMPRESSOR_H
+#define NIKON_DECOMPRESSOR_H
+
 #include "LJpegDecompressor.h"
 #include "BitPumpMSB.h"
 /* 
@@ -55,3 +57,5 @@
   7,6,8,5,9,4,10,3,11,12,2,0,1,13,14 } };
   
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/OrfDecoder.h
===================================================================
--- RawSpeed/OrfDecoder.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/OrfDecoder.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef ORF_DECODER_H
+#define ORF_DECODER_H
+
 #include "RawDecoder.h"
 #include "LJpegPlain.h"
 #include "TiffIFD.h"
@@ -43,3 +45,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/PefDecoder.h
===================================================================
--- RawSpeed/PefDecoder.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/PefDecoder.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef PEF_DECODER_H
+#define PEF_DECODER_H
+
 #include "RawDecoder.h"
 #include "TiffIFD.h"
 #include "PentaxDecompressor.h"
@@ -39,3 +41,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/PentaxDecompressor.h
===================================================================
--- RawSpeed/PentaxDecompressor.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/PentaxDecompressor.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef PENTAX_DECOMPRESSOR_H
+#define PENTAX_DECOMPRESSOR_H
+
 #include "LJpegDecompressor.h"
 #include "BitPumpMSB.h"
 #include "TiffIFD.h"
@@ -39,3 +41,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/RawDecoder.h
===================================================================
--- RawSpeed/RawDecoder.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/RawDecoder.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef RAW_DECODER_H
+#define RAW_DECODER_H
+
 #include "RawDecoderException.h"
 #include "FileMap.h"
 #include "BitPumpJPEG.h" // Includes bytestream
@@ -152,3 +154,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/RawDecoderException.h
===================================================================
--- RawSpeed/RawDecoderException.h      2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/RawDecoderException.h      2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef RAW_DECODER_EXCEPTION_H
+#define RAW_DECODER_EXCEPTION_H
+
 /* 
     RawSpeed - RAW file decoder.
 
@@ -34,3 +36,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/RawImage.h
===================================================================
--- RawSpeed/RawImage.h 2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/RawImage.h 2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef RAW_IMAGE_H
+#define RAW_IMAGE_H
+
 #include "ColorFilterArray.h"
 #include "BlackArea.h"
 
@@ -155,3 +157,5 @@
 }
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/Rw2Decoder.h
===================================================================
--- RawSpeed/Rw2Decoder.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/Rw2Decoder.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef RW2_DECODER_H
+#define RW2_DECODER_H
+
 #include "RawDecoder.h"
 #include "TiffIFD.h"
 #include "BitPumpPlain.h"
@@ -60,3 +62,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/SrwDecoder.h
===================================================================
--- RawSpeed/SrwDecoder.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/SrwDecoder.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef SRW_DECODER_H
+#define SRW_DECODER_H
+
 #include "RawDecoder.h"
 #include "LJpegPlain.h"
 #include "TiffIFD.h"
@@ -42,3 +44,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/TiffEntry.h
===================================================================
--- RawSpeed/TiffEntry.h        2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/TiffEntry.h        2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef TIFF_ENTRY_H
+#define TIFF_ENTRY_H
+
 #include "TiffParserException.h"
 #include "FileMap.h"
 
@@ -92,3 +94,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/TiffEntryBE.h
===================================================================
--- RawSpeed/TiffEntryBE.h      2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/TiffEntryBE.h      2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef TIFF_ENTRY_BE_H
+#define TIFF_ENTRY_BE_H
+
 #include "TiffEntry.h"
 
 /* 
@@ -41,3 +43,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/TiffIFD.h
===================================================================
--- RawSpeed/TiffIFD.h  2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/TiffIFD.h  2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef TIFF_IFD_H
+#define TIFF_IFD_H
+
 #include "FileMap.h"
 #include "TiffEntry.h"
 #include "TiffParserException.h"
@@ -68,3 +70,5 @@
 }
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/TiffIFDBE.h
===================================================================
--- RawSpeed/TiffIFDBE.h        2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/TiffIFDBE.h        2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef TIFF_IFDBE_H
+#define TIFF_IFDBE_H
+
 #include "TiffIFD.h"
 /* 
     RawSpeed - RAW file decoder.
@@ -34,3 +36,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/TiffParser.h
===================================================================
--- RawSpeed/TiffParser.h       2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/TiffParser.h       2011-03-24 19:16:35 UTC (rev 353)
@@ -20,7 +20,9 @@
     http://www.klauspost.com
 */
 
-#pragma once
+#ifndef TIFF_PARSER_H
+#define TIFF_PARSER_H
+
 #include "FileMap.h"
 #include "TiffIFD.h"
 #include "TiffIFDBE.h"
@@ -55,3 +57,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/TiffParserException.h
===================================================================
--- RawSpeed/TiffParserException.h      2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/TiffParserException.h      2011-03-24 19:16:35 UTC (rev 353)
@@ -19,8 +19,10 @@
 
     http://www.klauspost.com
 */
-#pragma once
+#ifndef TIFF_PARSER_EXCEPTION_H
+#define TIFF_PARSER_EXCEPTION_H
 
+
 namespace RawSpeed {
 
 void ThrowTPE(const char* fmt, ...);
@@ -32,3 +34,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/TiffParserHeaderless.h
===================================================================
--- RawSpeed/TiffParserHeaderless.h     2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/TiffParserHeaderless.h     2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef TIFF_PARSER_HEADERLESS_H
+#define TIFF_PARSER_HEADERLESS_H
+
 #include "TiffParser.h"
 /* 
     RawSpeed - RAW file decoder.
@@ -35,3 +37,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif

Modified: RawSpeed/TiffParserOlympus.h
===================================================================
--- RawSpeed/TiffParserOlympus.h        2011-03-23 11:32:18 UTC (rev 352)
+++ RawSpeed/TiffParserOlympus.h        2011-03-24 19:16:35 UTC (rev 353)
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef TIFF_PARSER_OLYMPUS_H
+#define TIFF_PARSER_OLYMPUS_H
+
 #include "TiffParser.h"
 /* 
     RawSpeed - RAW file decoder.
@@ -34,3 +36,5 @@
 };
 
 } // namespace RawSpeed
+
+#endif


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to