Search

November 11, 2021
General »
...fail on all other compilers. ```#ifdef``` and  ```#ifndef``` are used to tailor the declarations/definitions...
November 11, 2021
General »
Isn't `#ifndef` handled by the preprocessor? The `__restrict` problem I encountered is in the...
November 11, 2021
General »
...names that start with two "__", because of ```#ifndef```.

It is kinda tricky as C code...
March 01, 2021
Issues »
...14, 0, WS_EX_LEFT
}

----------

resource.h:

#ifndef IDC_STATIC
#define IDC_STATIC (-1)
#endif...
November 05, 2019
LDC »
Using clang the following code:
```
__asm__ __volatile__ (
	".ifndef _.stapsdt.base\n"                                     \
	".pushsection .stapsdt.base,\"aG...
July 22, 2019
General »
...emit this:

#ifndef D_ENUM
# define D_ENUM(name, type) enum name
#endif
#ifndef D...
July 17, 2019
General »
...to have wrap the definitions inside an `#ifndef \ #define` block.

Another one would be to...
February 20, 2019
General »
...t


Here's the relevant C code

    #ifndef RS_STACK_CAPACITY
    #define RS_STACK_CAPACITY...
January 15, 2019
General »
...include <stdlib.h>
	#include <time.h>


	/* Defines */

	#ifndef NO_STTY
	#define S1 system("stty cbreak...
January 13, 2019
Learn »
...whether I even need this or not):

    #ifndef RS_API
    #ifdef RS_NOINLINE
    /* GCC version...
1 2 3
Next ›   Last »