Skip to content

Commit

Permalink
inih: change main to test
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed Feb 28, 2024
1 parent c47c8cb commit 9c05583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/i/inih/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ package("inih")
return 1;
}
int main(int argc, char* argv[])
int test(int argc, char* argv[])
{
configuration config;
config.version = 0;
Expand All @@ -76,7 +76,7 @@ package("inih")
#include <iostream>
#include "INIReader.h"
int main()
int test()
{
INIReader reader("test.ini");
if (reader.ParseError() < 0) {
Expand Down

0 comments on commit 9c05583

Please sign in to comment.