cmake/c++11-test-cstdint.cpp

Fri, 23 Aug 2013 00:54:31 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Fri, 23 Aug 2013 00:54:31 +0300
changeset 476
baa35b4b67dc
parent 473
2a84149fe642
permissions
-rw-r--r--

fixed: front and back camera wouldn't render anything

#include <cstdint>
int main()
{
	bool test = 
		(sizeof(int8_t) == 1) &&
		(sizeof(int16_t) == 2) &&
		(sizeof(int32_t) == 4) &&
		(sizeof(int64_t) == 8);
	return test ? 0 : 1;
}

mercurial