We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59a3f57 commit 354d53bCopy full SHA for 354d53b
fdbcli/fdb_checksum_tool/fdb_checksum_tool.actor.cpp
@@ -17,7 +17,14 @@
17
* See the License for the specific language governing permissions and
18
* limitations under the License.
19
*/
20
+#ifndef NO_INTELLISENSE
21
+// In IDE, we need to define the API version explicitly
22
+#define FDB_API_VERSION 710
23
+#else
24
+// In actual build, use the latest version
25
#define FDB_USE_LATEST_API_VERSION
26
+#endif
27
+
28
#include "flow/flow.h"
29
#include "flow/Error.h"
30
#include "flow/FastRef.h"
@@ -38,9 +45,6 @@
38
45
#include "flow/xxhash.h"
39
46
#include "fdbclient/ChecksumDatabase.actor.h" // This now brings in actorcompiler.h for its own actors
40
47
41
-// Define FDB_API_VERSION before including fdb_c.h
42
-#define FDB_API_VERSION 710
43
-
44
48
// Include C API here
49
#include "foundationdb/fdb_c.h"
50
0 commit comments