mirror of https://github.com/GNOME/gimp.git
Issue !125: avoid conflict with win32 macro.
jpeg-save.c:56: warning: "DEFAULT_QUALITY" redefined 56 | #define DEFAULT_QUALITY 90.0 | In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:71, from C:/msys64/mingw64/x86_64-w64-mingw32/include/rpc.h:16, from C:/msys64/mingw64/x86_64-w64-mingw32/include/objbase.h:7, from C:/msys64/mingw64/x86_64-w64-mingw32/include/shlwapi.h:16, from C:/msys64/mingw64/include/jmorecfg.h:19, from C:/msys64/mingw64/include/jpeglib.h:31, from jpeg-save.c:33: C:/msys64/mingw64/x86_64-w64-mingw32/include/wingdi.h:1140: note: this is the location of the previous definition 1140 | #define DEFAULT_QUALITY 0
This commit is contained in:
parent
d710e96d81
commit
5d365352ca
|
@ -53,7 +53,7 @@ static gboolean arithc_supported = FALSE;
|
|||
#define SCALE_WIDTH 125
|
||||
|
||||
/* See bugs #63610 and #61088 for a discussion about the quality settings */
|
||||
#define DEFAULT_QUALITY 90.0
|
||||
#define DEFAULT_IJG_QUALITY 90.0
|
||||
#define DEFAULT_SMOOTHING 0.0
|
||||
#define DEFAULT_OPTIMIZE TRUE
|
||||
#define DEFAULT_ARITHMETIC_CODING FALSE
|
||||
|
@ -1299,7 +1299,7 @@ save_dialog_response (GtkWidget *widget,
|
|||
void
|
||||
load_defaults (void)
|
||||
{
|
||||
jsvals.quality = DEFAULT_QUALITY;
|
||||
jsvals.quality = DEFAULT_IJG_QUALITY;
|
||||
jsvals.smoothing = DEFAULT_SMOOTHING;
|
||||
jsvals.optimize = DEFAULT_OPTIMIZE;
|
||||
jsvals.arithmetic_coding= DEFAULT_ARITHMETIC_CODING;
|
||||
|
|
Loading…
Reference in New Issue