summaryrefslogtreecommitdiff
path: root/math/octave/files/patch-liboctave_util_quit.h
blob: 5ee83cbc3788f25d09218e32b0fc976a0c2cd951 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- liboctave/util/quit.h.orig	2025-03-29 19:33:33 UTC
+++ liboctave/util/quit.h
@@ -224,7 +224,7 @@ extern "C" {
 
 #if defined (__cplusplus)
 
-  extern OCTAVE_API std::atomic<int> octave_interrupt_state;
+  extern OCTAVE_API std::atomic<sig_atomic_t> octave_interrupt_state;
 
   extern OCTAVE_API std::atomic<bool> octave_signal_caught;