Fix all header defines
This commit is contained in:
@@ -35,8 +35,8 @@ static void initJsonEscape()
|
||||
static void outputEscape()
|
||||
{
|
||||
printf( "// Automatically generated file. Do not modify.\n"
|
||||
"#ifndef __UNIVALUE_ESCAPES_H__\n"
|
||||
"#define __UNIVALUE_ESCAPES_H__\n"
|
||||
"#ifndef BITCOIN_UNIVALUE_UNIVALUE_ESCAPES_H\n"
|
||||
"#define BITCOIN_UNIVALUE_UNIVALUE_ESCAPES_H\n"
|
||||
"static const char *escapes[256] = {\n");
|
||||
|
||||
for (unsigned int i = 0; i < 256; i++) {
|
||||
@@ -66,7 +66,7 @@ static void outputEscape()
|
||||
}
|
||||
|
||||
printf( "};\n"
|
||||
"#endif // __UNIVALUE_ESCAPES_H__\n");
|
||||
"#endif // BITCOIN_UNIVALUE_UNIVALUE_ESCAPES_H\n");
|
||||
}
|
||||
|
||||
int main (int argc, char *argv[])
|
||||
|
||||
Reference in New Issue
Block a user