File tree Expand file tree Collapse file tree 4 files changed +21
-2
lines changed
Expand file tree Collapse file tree 4 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 7474 gmake
7575 mkdir build && cd build && cmake .. && gmake
7676
77+ solaris :
78+ runs-on : ubuntu-latest
79+ name : Solaris
80+ steps :
81+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
82+ - name : Build in Solaris
83+ uses : vmactions/solaris-vm@58cbd70c6e051860f9b8f65908cc582938fbbdba # v1.1.5
84+ with :
85+ prepare : pkgutil -y -i gmake gcc5core openssl_utils
86+ run : |
87+ USE_TLS=1 gmake
88+
7789 build-cross :
7890 name : Cross-compile ${{ matrix.config.target }}
7991 runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ endif
184184
185185ifeq ($(uname_S ) ,FreeBSD)
186186 LDFLAGS += -lm
187- else ifeq ($(UNAME_S ),SunOS)
187+ else ifeq ($(uname_S ),SunOS)
188188 ifeq ($(shell $(CC) -V 2>&1 | grep -iq 'sun\|studio' && echo true),true)
189189 SUN_SHARED_FLAG = -G
190190 else
Original file line number Diff line number Diff line change 2828 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2929 * POSSIBILITY OF SUCH DAMAGE.
3030 */
31+ #include "fmacros.h"
32+
3133#include <assert.h>
3234#include <ctype.h>
3335#include <errno.h>
Original file line number Diff line number Diff line change 11#ifndef VALKEY_FMACRO_H
22#define VALKEY_FMACRO_H
33
4+
5+ // Default: freebsd alloca missing
6+
47#ifndef _AIX
8+ // Needed for FreeBSD cluster.c gettimeofday() random()
59#define _XOPEN_SOURCE 600
6- #define _POSIX_C_SOURCE 200112L
10+
11+ //#define _POSIX_C_SOURCE 200112L
712#endif
813
914#if defined(__APPLE__ ) && defined(__MACH__ )
You can’t perform that action at this time.
0 commit comments