Skip to content

Commit

Permalink
定数周りの調整
Browse files Browse the repository at this point in the history
  • Loading branch information
tsukumijima committed Aug 26, 2023
1 parent 43c5b43 commit 06d9169
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions aribb25/config.h.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#ifndef CONFIG_H
#define CONFIG_H

#define ARIBB1_MAJOR_VERSION @ARIBB1_MAJOR_VERSION@
#define ARIBB1_MINOR_VERSION @ARIBB1_MINOR_VERSION@
#define ARIBB1_PATCH_VERSION @ARIBB1_PATCH_VERSION@
#define ARIBB1_VERSION_NUMBER "@ARIBB1_VERSION_NUMBER@"
#define ARIBB1_VERSION_STRING "@ARIBB1_VERSION_STRING@"

#define ARIBB25_MAJOR_VERSION @ARIBB25_MAJOR_VERSION@
#define ARIBB25_MINOR_VERSION @ARIBB25_MINOR_VERSION@
#define ARIBB25_PATCH_VERSION @ARIBB25_PATCH_VERSION@
Expand Down
2 changes: 1 addition & 1 deletion aribb25/version_b1.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const char elf_interp[] __attribute__((section(".interp"))) = ELF_INTERP;

void show_version(void)
{
fprintf(stderr, "libaribb1.so - ARIB STD-B1 shared library version %s (%s)\n", ARIBB25_VERSION_STRING, BUILD_GIT_REVISION);
fprintf(stderr, "libaribb1.so - ARIB STD-B1 shared library version %s (%s)\n", ARIBB1_VERSION_STRING, BUILD_GIT_REVISION);
fprintf(stderr, " built with %s %s on %s\n", BUILD_CC_NAME, BUILD_CC_VERSION, BUILD_OS_NAME);
_exit(0);
}
Expand Down

0 comments on commit 06d9169

Please sign in to comment.