Skip to content

Commit

Permalink
Fixed bug in BSIO library
Browse files Browse the repository at this point in the history
Fixed bug handling the #include <stdint.h> statement in the mbsystem/src/bsio directory.
  • Loading branch information
dwcaress committed Jun 16, 2023
1 parent 6d63a19 commit fe81701
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 18 deletions.
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for mbsystem 5.7.9beta54.
# Generated by GNU Autoconf 2.71 for mbsystem 5.7.9beta55.
#
# Report bugs to <http://listserver.mbari.org/sympa/arc/mbsystem>.
#
Expand Down Expand Up @@ -621,8 +621,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='mbsystem'
PACKAGE_TARNAME='mbsystem'
PACKAGE_VERSION='5.7.9beta54'
PACKAGE_STRING='mbsystem 5.7.9beta54'
PACKAGE_VERSION='5.7.9beta55'
PACKAGE_STRING='mbsystem 5.7.9beta55'
PACKAGE_BUGREPORT='http://listserver.mbari.org/sympa/arc/mbsystem'
PACKAGE_URL='http://www.mbari.org/data/mbsystem/'

Expand Down Expand Up @@ -1536,7 +1536,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures mbsystem 5.7.9beta54 to adapt to many kinds of systems.
\`configure' configures mbsystem 5.7.9beta55 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1611,7 +1611,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of mbsystem 5.7.9beta54:";;
short | recursive ) echo "Configuration of mbsystem 5.7.9beta55:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1789,7 +1789,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
mbsystem configure 5.7.9beta54
mbsystem configure 5.7.9beta55
generated by GNU Autoconf 2.71

Copyright (C) 2021 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2325,7 +2325,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by mbsystem $as_me 5.7.9beta54, which was
It was created by mbsystem $as_me 5.7.9beta55, which was
generated by GNU Autoconf 2.71. Invocation command line was

$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -5396,7 +5396,7 @@ fi

# Define the identity of the package.
PACKAGE='mbsystem'
VERSION='5.7.9beta54'
VERSION='5.7.9beta55'


printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
Expand Down Expand Up @@ -26069,7 +26069,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by mbsystem $as_me 5.7.9beta54, which was
This file was extended by mbsystem $as_me 5.7.9beta55, which was
generated by GNU Autoconf 2.71. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -26138,7 +26138,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
mbsystem config.status 5.7.9beta54
mbsystem config.status 5.7.9beta55
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dnl See README file for copying and redistribution conditions.
dnl--------------------------------------------------------------------

dnl Initialize and set version and version date
AC_INIT([mbsystem],[5.7.9beta54],[http://listserver.mbari.org/sympa/arc/mbsystem],[mbsystem],[http://www.mbari.org/data/mbsystem/])
AC_INIT([mbsystem],[5.7.9beta55],[http://listserver.mbari.org/sympa/arc/mbsystem],[mbsystem],[http://www.mbari.org/data/mbsystem/])
AC_DEFINE(VERSION_DATE, ["15 June 2023"], [Set VERSION_DATE define in mb_config.h])

AS_ECHO([" "])
Expand Down
10 changes: 10 additions & 0 deletions src/bsio/mbbs_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
/* CMake build system section */
#ifdef CMAKE_BUILD_SYSTEM

#include <stdint.h>

#include <rpc/rpc.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
Expand All @@ -49,6 +51,14 @@

#include <mb_config.h>

#ifdef _WIN32
#include <stdint.h> /* To get INT32_MIN, INT32_MAX, etc ... */
#else
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#endif

/* XDR i/o include file */
#ifdef HAVE_RPC_RPC_H
#include <rpc/rpc.h>
Expand Down
7 changes: 0 additions & 7 deletions src/bsio/mbbs_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@
#include <string.h>
#include <math.h>
#include <stdlib.h>
#ifdef _WIN32
#include <stdint.h> /* To get INT32_MIN, INT32_MAX, etc ... */
#else
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#endif

#include "mbbs_defines.h"
#include "mbbs_mem.h"
Expand Down

0 comments on commit fe81701

Please sign in to comment.