Skip to content

Commit 7100044

Browse files
Alexander OvchinnikovAlexander Ovchinnikov
authored andcommitted
Review: Rename the stringize macro
1 parent 5c40456 commit 7100044

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/win32/git2.rc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
#endif
1111

1212
#ifdef GCC_WINDRES
13-
# define STRINGIZE(x) #x
14-
# define STRINGIZE_(x) STRINGIZE(x)
13+
# define _STR(x) #x
14+
# define STR(x) _STR(x)
1515
#else
16-
# define STRINGIZE_(x) x
16+
# define STR(x) x
1717
#endif
1818

1919
#ifdef GCC_WINDRES
@@ -40,9 +40,9 @@ BEGIN
4040
BEGIN
4141
VALUE "FileDescription", "libgit2 - the Git linkable library\0"
4242
VALUE "FileVersion", LIBGIT2_VERSION "\0"
43-
VALUE "InternalName", STRINGIZE_(LIBGIT2_FILENAME) ".dll\0"
43+
VALUE "InternalName", STR(LIBGIT2_FILENAME) ".dll\0"
4444
VALUE "LegalCopyright", "Copyright (C) the libgit2 contributors. All rights reserved.\0"
45-
VALUE "OriginalFilename", STRINGIZE_(LIBGIT2_FILENAME) ".dll\0"
45+
VALUE "OriginalFilename", STR(LIBGIT2_FILENAME) ".dll\0"
4646
VALUE "ProductName", "libgit2\0"
4747
VALUE "ProductVersion", LIBGIT2_VERSION "\0"
4848
VALUE "Comments", LIBGIT2_COMMENTS "\0"

0 commit comments

Comments
 (0)