aboutsummaryrefslogtreecommitdiff
path: root/src/StormPort.h
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2018-04-27 13:55:46 +0200
committerGitHub <noreply@github.com>2018-04-27 13:55:46 +0200
commiteecbac1689b1f7ea09c93812ba1f4d51a3436bb7 (patch)
tree4718cffa9d42487b3bb540b7f393d5a3dda1ed49 /src/StormPort.h
parent8c9992253dca5861388e54506d40e5cbefaf2485 (diff)
parentfe652fe4a6e02041194a0f1b29a0086bd99fb14d (diff)
Merge pull request #129 from nvs/fix-error-negative-seek
I looked at your proposed changes and yes, they are OK. Thank you for the bugfix.
Diffstat (limited to 'src/StormPort.h')
-rw-r--r--src/StormPort.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/StormPort.h b/src/StormPort.h
index 40e418c..1da974b 100644
--- a/src/StormPort.h
+++ b/src/StormPort.h
@@ -211,6 +211,7 @@
#define ERROR_NOT_ENOUGH_MEMORY ENOMEM
#define ERROR_NOT_SUPPORTED ENOTSUP
#define ERROR_INVALID_PARAMETER EINVAL
+ #define ERROR_NEGATIVE_SEEK EINVAL
#define ERROR_DISK_FULL ENOSPC
#define ERROR_ALREADY_EXISTS EEXIST
#define ERROR_INSUFFICIENT_BUFFER ENOBUFS