Added definitions of MIN and MAX
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3141 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -50,6 +50,13 @@
|
||||
# define N_(String) (String)
|
||||
#endif
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(x, y) (((x)>(y))?(x):(y))
|
||||
#endif
|
||||
#ifndef MIN
|
||||
#define MIN(x, y) (((x)<(y))?(x):(y))
|
||||
#endif
|
||||
|
||||
int
|
||||
gp_cmd_capture_preview (Camera *camera, CameraFile *file)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user