summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-10-11 05:30:34 -0700
committerDan Nicholson <dbn.lists@gmail.com>2013-05-17 05:36:12 -0700
commit1085ba73770c7b4091e0262e96949721ba378c4b (patch)
tree2d1f8f642249a7d5f9b93700a80810ed7365a609 /check
parentf78b0143718163375d050a866d24567b4081f2ce (diff)
downloadpkg-config-1085ba73770c7b4091e0262e96949721ba378c4b.tar.gz
rpmvercmp: Use helper macros to match upstream code better
Upstream rpm has some convenience inline functions for strcmp and the character class functions. Define some macros here to make our code look more like upstream despite being the same functionally. One difference noted while investigating the inline functions in upstream is that the rpm character class functions are slightly different from the standard functions. The rpm functions are independent of locale, unlike the libc routines. pkg-config should probably do the same and could easily use the g_ascii_is* macros from glib.
Diffstat (limited to 'check')
0 files changed, 0 insertions, 0 deletions