mirror of
				https://git.code.sf.net/p/libpng/code.git
				synced 2025-07-10 18:04:09 +02:00 
			
		
		
		
	[libpng17] Comment that PNG_RELEASE_BUILD has to be 0 or 1; illustrate
usage in contrib/pngminim/*/pngusr.h
This commit is contained in:
		
							parent
							
								
									67890a19f3
								
							
						
					
					
						commit
						218b2d7c70
					
				| @ -18,6 +18,7 @@ | ||||
|  * affect the API (so are not recorded in pnglibconf.h) | ||||
|  */ | ||||
| 
 | ||||
| #define PNG_RELEASE_BUILD 1 | ||||
| #define PNG_ALIGN_TYPE PNG_ALIGN_NONE | ||||
| 
 | ||||
| #endif /* MINRDPNGCONF_H */ | ||||
|  | ||||
| @ -18,6 +18,7 @@ | ||||
|  * affect the API (so are not recorded in pnglibconf.h) | ||||
|  */ | ||||
| 
 | ||||
| #define PNG_RELEASE_BUILD 1 | ||||
| #define PNG_ALIGN_TYPE PNG_ALIGN_NONE | ||||
| 
 | ||||
| #endif /* MINWRPNGCONF_H */ | ||||
|  | ||||
| @ -18,6 +18,7 @@ | ||||
|  * affect the API (so are not recorded in pnglibconf.h) | ||||
|  */ | ||||
| 
 | ||||
| #define PNG_RELEASE_BUILD 1 | ||||
| #define PNG_ALIGN_TYPE PNG_ALIGN_NONE | ||||
| 
 | ||||
| #endif /* MINPRDPNGCONF_H */ | ||||
|  | ||||
| @ -338,7 +338,7 @@ | ||||
|  * default is just to use PNG_LIBPNG_BUILD_BASE_TYPE.  Set this in CPPFLAGS | ||||
|  * with either: | ||||
|  * | ||||
|  *   -DPNG_RELEASE_BUILD   Turns on the release compile path | ||||
|  *   -DPNG_RELEASE_BUILD=1 Turns on the release compile path | ||||
|  *   -DPNG_RELEASE_BUILD=0 Turns it off | ||||
|  */ | ||||
| #ifndef PNG_RELEASE_BUILD | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Glenn Randers-Pehrson
						Glenn Randers-Pehrson