eyalroz / ssb-dbgen

Star Schema Benchmark data set generator (dbgen) - unified repository

Home Page:http://www.cs.umb.edu/~poneil/StarSchemaB.PDF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unnecessary quotes in config.h.in

eyalroz opened this issue · comments

Here's a snippet from src/config.h.in:

#if (@SIZEOF_LONG_LONG@ == 8)
#define SIGNED_64_BIT_C_TYPE long long
#define SIGNED_64_BIT_PRINTF_MODIFIER "ll"
#else
#if (@SIZEOF_SHORT@ == "8")
#define SIGNED_64_BIT_C_TYPE short
#define SIGNED_64_BIT_PRINTF_MODIFIER "s"

The second comparison is a bug. @SIZEOF_SHORT@ should not be a quoted string. Let's make such lines (there are two in the file) use actual values, not quoted strings.

First noticed by @valco1994 .