aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/stream.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-07-16 09:09:00 +0200
committerThomas White <taw@physics.org>2021-07-16 09:09:00 +0200
commit194f2aa345e738bc7e92ab6fc34a0ea185ad23d5 (patch)
tree58c41ffd45e877a027731bdfd39adbd360e1161d /libcrystfel/src/stream.c
parentdb1f4d304c45482a6985d19df99a920c48248cfb (diff)
Rename DST_* to DATA_SOURCE_TYPE_*
On some systems, this conflicts with DST_NONE in sys/time.h.
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r--libcrystfel/src/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index 09a505a7..cd64a485 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -985,7 +985,7 @@ struct image *stream_read_chunk(Stream *st, StreamFlags srf)
image = image_new();
if ( image == NULL ) return NULL;
- image->data_source_type = DST_NONE;
+ image->data_source_type = DATA_SOURCE_TYPE_NONE;
do {
int ser;