Add a workaround for compilers without __COUNTER__
commit907cd3dd01098c5b7437173b5f800ecdf03946bb
authorChris Robinson <chris.kcat@gmail.com>
Sat, 8 Nov 2014 03:40:11 +0000 (7 19:40 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Sat, 8 Nov 2014 03:43:14 +0000 (7 19:43 -0800)
treee88e0f4d52baeae38693b22e9fe94541511ec9e6
parentb34a374fa7801b64fddcfd1fa57188fb5f5303a8
Add a workaround for compilers without __COUNTER__

This can make GCC pretty noisey, complaining "declaration does not declare
anything" for each static_assert, but it should still function on such older
compilers.
include/static_assert.h