How can I solve the error: unterminated #ifndef
when am trying to use header files with my defined functions in C ?
In file included from test.c:1:
main.h:1: error: unterminated #ifndef
1 | # ifndef _MAIN_H_
|
this is the code
# ifndef _MAIN_H_
# ifdef _MAIN_H_
int now(void);
# endif
~
I though #endif solves it all but failed.