Skip to content

Commit

Permalink
Merge pull request #2070 from btovar/fix_off_t
Browse files Browse the repository at this point in the history
fix off_t in work_queue.i
  • Loading branch information
nhazekam committed Jun 25, 2019
2 parents d2e75ca + 357d781 commit 11a4111
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion work_queue/src/work_queue.i
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
#include "rmsummary.h"
%}

%typemap(in) off_t = int;
/* We compile with -D__LARGE64_FILES, thus off_t is at least 64bit.
long long int is guaranteed to be at least 64bit. */
%typemap(in) off_t = long long int;

/* vdebug() takes va_list as arg but SWIG can't wrap such functions. */
%ignore vdebug;
Expand Down

0 comments on commit 11a4111

Please sign in to comment.