summaryrefslogtreecommitdiffstats
path: root/src/suspend_no.c
blob: 3abea19e8ad8e64595b98a1bf429b172b29fbf73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
 
#ifdef DISABLED_FOR_FRAMAC
#undef HAVE_LIBJPEG
#endif

#if defined(HAVE_LIBJPEG) && defined(HAVE_JPEGLIB_H)
#include <stdio.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <jpeglib.h>
#include "suspend.h"

void suspend_memory(j_common_ptr cinfo) {
};

int resume_memory(j_common_ptr cinfo)
{
  /* Can't resume */
  return -1;
};
#endif