mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-07 10:05:50 +01:00
wrlib: Use a Conditional for GIF in the makefile instead of #if in source
The use of the conditionals provided by autotools provides a better result as they avoid unnecessary compilation. Signed-off-by: Christophe CURIS <christophe.curis@free.fr> Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
This commit is contained in:
committed by
Carlos R. Mafra
parent
f892ce4d37
commit
7831acebe3
@@ -22,8 +22,6 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#ifdef USE_GIF
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@@ -209,5 +207,3 @@ RImage *RLoadGIF(const char *file, int index)
|
||||
|
||||
return image;
|
||||
}
|
||||
|
||||
#endif /* USE_GIF */
|
||||
|
||||
Reference in New Issue
Block a user