Skip to content

Commit 61adfba

Browse files
committed
fix(test): remove unused shlwapi.h include causing macro conflicts
1 parent b758ffb commit 61adfba

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

tests/test_db.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,6 @@
88
#include "db/tag_db.h"
99
#include "test_utils.h"
1010

11-
// Undefine Windows macros that conflict with our method names
12-
#ifdef CreateFile
13-
#undef CreateFile
14-
#endif
15-
#ifdef DeleteFile
16-
#undef DeleteFile
17-
#endif
18-
#ifdef MoveFile
19-
#undef MoveFile
20-
#endif
21-
2211
using namespace vxcore::db;
2312

2413
// Test database path

tests/test_utils.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77
#include <iostream>
88
#include <string>
99

10-
#ifdef _WIN32
11-
#include <shlwapi.h>
12-
#pragma comment(lib, "shlwapi.lib")
13-
#endif
14-
1510
#define ASSERT(condition) \
1611
do { \
1712
if (!(condition)) { \

0 commit comments

Comments
 (0)