Reputation: 11394
I am not able to understand the following statement from the file limits.h. What is the use of this statement and what does it accomplishes?
/* If we are not using GNU CC we have to define all the symbols ourself.
Otherwise use gcc's definitions (see below). */
#if !defined __GNUC__ || __GNUC__ < 2
Upvotes: 1
Views: 321
Reputation: 4797
It checks whether you are not using a Gcc compiler Version 2 or Gcc some other versions. using this pre-processor macro we can some portable codes.
Upvotes: 2
Reputation: 25749
It checks if your program is compiled by some other compiler than GCC, or some very old GCC version.
Upvotes: 4