1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-10 01:02:56 +03:00

Fix harmless compiler warnings.

FossilOrigin-Name: 25d776e4523aefeec007943fe29aa17c23ccb301
This commit is contained in:
drh
2016-03-21 22:28:51 +00:00
parent 6737aab5cf
commit 13969f5af0
5 changed files with 18 additions and 14 deletions

View File

@@ -583,8 +583,12 @@
/*
** Macros to compute minimum and maximum of two numbers.
*/
#define MIN(A,B) ((A)<(B)?(A):(B))
#define MAX(A,B) ((A)>(B)?(A):(B))
#ifndef MIN
# define MIN(A,B) ((A)<(B)?(A):(B))
#endif
#ifndef MAX
# define MAX(A,B) ((A)>(B)?(A):(B))
#endif
/*
** Swap two objects of type TYPE.