Skip to content

Commit

Permalink
Merge pull request #22 from sot/windows-parse-time-fix
Browse files Browse the repository at this point in the history
Remove an extra underscore in PyInit declaration
  • Loading branch information
taldcroft authored Oct 29, 2020
2 parents 570a3dd + 968d8e0 commit fbcc404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cxotime/parse_times.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
const char char_zero = 48;
const char char_nine = 57;

// Distutils on Windows automatically exports ``PyInit__parse_times``,
// Distutils on Windows automatically exports ``PyInit_parse_times``,
// create dummy to prevent linker complaining about missing symbol.
// Based on convolution/src/convolve.c.
#if defined(_MSC_VER)
void PyInit__parse_times(void)
void PyInit_parse_times(void)
{
return;
}
Expand Down

0 comments on commit fbcc404

Please sign in to comment.