summaryrefslogtreecommitdiff
path: root/third_party/libjpeg
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libjpeg')
-rw-r--r--third_party/libjpeg/fpdfapi_jchuff.c4
-rw-r--r--third_party/libjpeg/fpdfapi_jdhuff.c4
-rw-r--r--third_party/libjpeg/fpdfapi_jdmerge.c4
-rw-r--r--third_party/libjpeg/fpdfapi_jmemnobs.c8
-rw-r--r--third_party/libjpeg/jmorecfg.h4
5 files changed, 0 insertions, 24 deletions
diff --git a/third_party/libjpeg/fpdfapi_jchuff.c b/third_party/libjpeg/fpdfapi_jchuff.c
index 02d91e2cb4..005220c3b2 100644
--- a/third_party/libjpeg/fpdfapi_jchuff.c
+++ b/third_party/libjpeg/fpdfapi_jchuff.c
@@ -19,10 +19,6 @@
#include "jpeglib.h"
#include "jchuff.h" /* Declarations shared with jcphuff.c */
-#ifdef _FX_MANAGED_CODE_
-#define savable_state savable_state_c
-#endif
-
/* Expanded entropy encoder object for Huffman encoding.
*
* The savable_state subrecord contains fields that change within an MCU,
diff --git a/third_party/libjpeg/fpdfapi_jdhuff.c b/third_party/libjpeg/fpdfapi_jdhuff.c
index 4b0454d5a0..2c9495c2b4 100644
--- a/third_party/libjpeg/fpdfapi_jdhuff.c
+++ b/third_party/libjpeg/fpdfapi_jdhuff.c
@@ -19,10 +19,6 @@
#include "jpeglib.h"
#include "jdhuff.h" /* Declarations shared with jdphuff.c */
-#ifdef _FX_MANAGED_CODE_
-#define savable_state savable_state_d
-#endif
-
/*
* Expanded entropy decoder object for Huffman decoding.
*
diff --git a/third_party/libjpeg/fpdfapi_jdmerge.c b/third_party/libjpeg/fpdfapi_jdmerge.c
index 519bbad685..a175a56bf7 100644
--- a/third_party/libjpeg/fpdfapi_jdmerge.c
+++ b/third_party/libjpeg/fpdfapi_jdmerge.c
@@ -38,10 +38,6 @@
#ifdef UPSAMPLE_MERGING_SUPPORTED
-#ifdef _FX_MANAGED_CODE_
-#define my_upsampler my_upsampler_m
-#endif
-
/* Private subobject */
typedef struct {
diff --git a/third_party/libjpeg/fpdfapi_jmemnobs.c b/third_party/libjpeg/fpdfapi_jmemnobs.c
index 201c5d6882..0344f6fd73 100644
--- a/third_party/libjpeg/fpdfapi_jmemnobs.c
+++ b/third_party/libjpeg/fpdfapi_jmemnobs.c
@@ -25,17 +25,9 @@ extern void * malloc JPP((size_t size));
extern void free JPP((void *ptr));
#endif
-#if defined(_FX_MANAGED_CODE_) && defined(__cplusplus)
-extern "C" {
-#endif
-
void* FXMEM_DefaultAlloc(int byte_size, int);
void FXMEM_DefaultFree(void* pointer, int);
-#if defined(_FX_MANAGED_CODE_) && defined(__cplusplus)
-}
-#endif
-
/*
* Memory allocation and freeing are controlled by the regular library
* routines malloc() and free().
diff --git a/third_party/libjpeg/jmorecfg.h b/third_party/libjpeg/jmorecfg.h
index 88d210954c..a80d90495e 100644
--- a/third_party/libjpeg/jmorecfg.h
+++ b/third_party/libjpeg/jmorecfg.h
@@ -195,12 +195,8 @@ typedef unsigned int JDIMENSION;
/* a function referenced thru EXTERNs: */
#define GLOBAL(type) type
-#ifdef _FX_MANAGED_CODE_
-#define EXTERN(type) extern "C" type
-#else
/* a reference to a GLOBAL function: */
#define EXTERN(type) extern type
-#endif
/* This macro is used to declare a "method", that is, a function pointer.